R version 4.6.0 alpha (2026-03-28 r89738 ucrt) Copyright (C) 2026 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > library(testthat) > library(seroreconstruct) > > test_check("seroreconstruct") Fitting group: 0 MCMC complete in 4 seconds. Use summary() to view estimates. Fitting group: 1 MCMC complete in 4 seconds. Use summary() to view estimates. Fitting group: 2 MCMC complete in 1 seconds. Use summary() to view estimates. Fitting group: 0 MCMC complete in 3 seconds. Use summary() to view estimates. Fitting group: 1 MCMC complete in 4 seconds. Use summary() to view estimates. Fitting group: 2 MCMC complete in 1 seconds. Use summary() to view estimates. Fitting group: 0 MCMC complete in 4 seconds. Use summary() to view estimates. Fitting group: 1 MCMC complete in 4 seconds. Use summary() to view estimates. Fitting group: 2 MCMC complete in 1 seconds. Use summary() to view estimates. Fitting group: 0 MCMC complete in 3 seconds. Use summary() to view estimates. Fitting group: 1 MCMC complete in 3 seconds. Use summary() to view estimates. Fitting group: 2 MCMC complete in 1 seconds. Use summary() to view estimates. Fitting group: 0 MCMC complete in 3 seconds. Use summary() to view estimates. Fitting group: 1 MCMC complete in 3 seconds. Use summary() to view estimates. Fitting group: 2 MCMC complete in 1 seconds. Use summary() to view estimates. MCMC complete in 8 seconds. Use summary() to view estimates. MCMC complete in 8 seconds. Use summary() to view estimates. MCMC complete in 8 seconds. Use summary() to view estimates. Fitting group: 0 MCMC complete in 3 seconds. Use summary() to view estimates. Fitting group: 1 MCMC complete in 3 seconds. Use summary() to view estimates. Fitting group: 2 MCMC complete in 2 seconds. Use summary() to view estimates. MCMC complete in 8 seconds. Use summary() to view estimates. MCMC complete in 8 seconds. Use summary() to view estimates. MCMC complete in 8 seconds. Use summary() to view estimates. Fitting group: 0 MCMC complete in 3 seconds. Use summary() to view estimates. Fitting group: 1 MCMC complete in 4 seconds. Use summary() to view estimates. Fitting group: 2 MCMC complete in 2 seconds. Use summary() to view estimates. MCMC complete in 9 seconds. Use summary() to view estimates. MCMC complete in 9 seconds. Use summary() to view estimates. MCMC complete in 9 seconds. Use summary() to view estimates. MCMC complete in 8 seconds. Use summary() to view estimates. MCMC complete in 9 seconds. Use summary() to view estimates. MCMC complete in 9 seconds. Use summary() to view estimates. MCMC complete in 9 seconds. Use summary() to view estimates. MCMC complete in 9 seconds. Use summary() to view estimates. MCMC complete in 9 seconds. Use summary() to view estimates. MCMC complete in 8 seconds. Use summary() to view estimates. MCMC complete in 2 seconds. Use summary() to view estimates. MCMC complete in 8 seconds. Use summary() to view estimates. Variable 1 Random error (%) 2 Two-fold error (%) 3 Fold-increase after infection for children (Boosting) 4 Fold-decrease after 1 year for children (Waning) 5 Fold-increase after 1 year for adults (Boosting) 6 Fold-decrease after 1 year for adults (Waning) 7 Infection probability for children 8 Infection probability for adults 9 Infection probability for older adults 10 Infection probability for children with pre-epidemic HAI titer < 10 11 Infection probability for adults with pre-epidemic HAI titer < 10 12 Infection probability for older adults with pre-epidemic HAI titer < 10 13 Relative risk for children (Ref: Adults) 14 Relative risk for older adults (Ref: Adults) 15 Relative risk for children with pre-epidemic HAI titer < 10 (Ref: Adults with pre-epidemic HAI titer < 10) 16 Relative risk for older adults with pre-epidemic HAI titer < 10 (Ref: Adults with pre-epidemic HAI titer < 10) Point estimate Lower bound Upper bound 1 7.22 6.19 8.76 2 3.65 4.07 3.19 3 2.08 1.75 2.59 4 1.18 1.13 1.25 5 2.13 1.94 2.43 6 1.32 1.23 1.49 7 0.23 0.21 0.27 8 0.21 0.18 0.24 9 0.24 0.19 0.29 10 0.30 0.27 0.34 11 0.23 0.20 0.27 12 0.27 0.22 0.32 13 1.12 0.93 1.32 14 1.29 1.04 1.52 15 1.16 0.95 1.37 16 1.16 0.95 1.36 MCMC complete in 9 seconds. Use summary() to view estimates. MCMC complete in 9 seconds. Use summary() to view estimates. MCMC complete in 8 seconds. Use summary() to view estimates. MCMC complete in 8 seconds. Use summary() to view estimates. MCMC complete in 2 seconds. Use summary() to view estimates. MCMC complete in 9 seconds. Use summary() to view estimates. Fitting joint model with 2 groups (0, 1) Shared parameters: error, boosting_waning MCMC complete in 8 seconds. Use summary() to view estimates. Fitting joint model with 2 groups (0, 1) Shared parameters: error, boosting_waning MCMC complete in 8 seconds. Use summary() to view estimates. Fitting joint model with 2 groups (0, 1) Shared parameters: error, boosting_waning MCMC complete in 8 seconds. Use summary() to view estimates. Fitting joint model with 2 groups (0, 1) Shared parameters: error, boosting_waning MCMC complete in 8 seconds. Use summary() to view estimates. Fitting joint model with 2 groups (0, 1) Shared parameters: error, boosting_waning MCMC complete in 8 seconds. Use summary() to view estimates. Fitting group: 0 MCMC complete in 4 seconds. Use summary() to view estimates. Fitting group: 1 MCMC complete in 4 seconds. Use summary() to view estimates. MCMC complete in 9 seconds. Use summary() to view estimates. MCMC complete in 8 seconds. Use summary() to view estimates. MCMC complete in 9 seconds. Use summary() to view estimates. Fitting group: 0 MCMC complete in 3 seconds. Use summary() to view estimates. Fitting group: 1 MCMC complete in 4 seconds. Use summary() to view estimates. Fitting group: 2 MCMC complete in 1 seconds. Use summary() to view estimates. MCMC complete in 9 seconds. Use summary() to view estimates. MCMC complete in 9 seconds. Use summary() to view estimates. Fitting group: 0 MCMC complete in 3 seconds. Use summary() to view estimates. Fitting group: 1 MCMC complete in 4 seconds. Use summary() to view estimates. Fitting group: 2 MCMC complete in 1 seconds. Use summary() to view estimates. MCMC complete in 9 seconds. Use summary() to view estimates. [ FAIL 0 | WARN 0 | SKIP 0 | PASS 132 ] > > proc.time() user system elapsed 362.79 129.50 368.23