* using log directory ‘/data/localhost/ripley/R/packages/tests-vg/LAGOtrials.Rcheck’ * using R Under development (unstable) (2026-12-01 r91013) * using platform: x86_64-pc-linux-gnu * R was compiled by gcc (GCC) 16.2.1 20261029 (Red Hat 16.2.1-3) GNU Fortran (GCC) 16.2.1 20261029 (Red Hat 16.2.1-3) * running under: Fedora Linux 44 (Server Edition) * using session charset: UTF-8 * current time: 2026-12-02 01:05:37 UTC * using options ‘--use-valgrind --no-stop-on-test-error’ * checking for file ‘LAGOtrials/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘LAGOtrials’ version ‘1.2.0’ * package encoding: UTF-8 * checking package dependencies ... OK * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking whether package ‘LAGOtrials’ can be installed ... [8s/12s] OK * used C++ compiler: ‘g++ (GCC) 16.2.1 20261029 (Red Hat 16.2.1-3)’ * checking package directory ... OK * checking whether the package can be loaded ... OK * checking whether the package can be loaded with stated dependencies ... OK * checking whether the package can be unloaded cleanly ... OK * checking whether the namespace can be loaded with stated dependencies ... OK * checking whether the namespace can be unloaded cleanly ... OK * checking loading without being on the library search path ... OK * checking compiled code ... OK * checking installed files from ‘inst/doc’ ... OK * checking files in ‘vignettes’ ... OK * checking examples ... [98s/147s] OK * checking tests ... Running ‘spelling.R’ [8s/15s] Running ‘testthat.R’ [80m/93m] [80m/93m] ERROR Running the tests in ‘tests/testthat.R’ failed. Complete output: > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview > # * https://testthat.r-lib.org/articles/special-files.html > > library(testthat) > library(LAGOtrials) > > test_check("LAGOtrials") Estimate Std. Error (Intercept) -2.29989 0.068371 coaching_updt 0.02514 0.006112 launch_duration 1.02447 0.074135 birth_volume_100 0.66451 0.029627 i Starting LAGO Optimization i Validating inputs... When 'cost_list_of_vectors' is provided, 'default_cost_fxn_type' is ignored. Estimate Std. Error (Intercept) -0.91555 0.40799 dose 0.31040 0.06062 noise 0.03865 0.05358 i Starting LAGO Optimization i Validating inputs... When 'cost_list_of_vectors' is provided, 'default_cost_fxn_type' is ignored. v Done i Assessing the cost function... v Done i Fitting the outcome model... v Done i Calculating the recommended intervention... v Done > <3 LAGO optimization complete <3 i Printing the output... -- LAGO optimization result ---------------------------------------------------- -- Inputs Input data dimensions: 32 rows, 11 columns Outcome name: mpg Outcome type: continuous 2 intervention component(s): gear, qsec Outcome model family: gaussian Outcome model link: identity Fixed center effects: FALSE Fixed time effects: FALSE Outcome goal: 40 Power goal: not specified Intervention component costs: c(0, 4), c(4, 6) Intervention lower bounds: 0, 0 Intervention upper bounds: 10, 350 -- Outcome model fit Estimate Std. Error (Intercept) -30.711 9.6702 gear 4.871 1.0814 qsec 1.840 0.4465 Standard errors are model based, as the confidence set uses them. -- Overall intervention-effect test To see the overall test results, include a 'group' column in the data with values 'treatment' or 'control' (binary outcomes only). -- Recommended intervention gear: 10 qsec: 12 Cost: 116 Estimated outcome: 40.0783 95% CI for the estimated outcome: not available (set include_confidence_set = TRUE) Outcome goal: 40 -- Confidence set Not computed (set include_confidence_set = TRUE to compute it). Saving _problems/test-hunt-fixes-295.R -- LAGO optimization result ---------------------------------------------------- -- Inputs Input data dimensions: 6124 rows, 22 columns Outcome name: pp3_oxytocin_mother Outcome type: binary 2 intervention component(s): coaching_updt, launch_duration Outcome model family: binomial Outcome model link: logit Fixed center effects: TRUE Fixed time effects: FALSE Outcome goal: 0.7 Power goal: not specified Intervention component costs: c(0, 1700), c(0, 8000) Intervention lower bounds: 0, 0 Intervention upper bounds: 40, 5 -- Outcome model fit Standard errors are those of the fitted glm(). -- Overall intervention-effect test To see the overall test results, include a 'group' column in the data with values 'treatment' or 'control' (binary outcomes only). -- Recommended intervention coaching_updt: 0 launch_duration: 1.8857 Cost: 15085 Estimated outcome: 0.7 95% CI for the estimated outcome: 0.656 - 0.744 Outcome goal: 0.7 -- Confidence set 95% confidence set size: 4.55% of the grid IQR of the cost within the 95% confidence set: 19400 - 49400 First rows of the confidence set (use $cs for all): -- LAGO optimization result ---------------------------------------------------- -- Inputs Input data dimensions: 6124 rows, 22 columns Outcome name: pp3_oxytocin_mother Outcome type: binary 2 intervention component(s): coaching_updt, launch_duration Outcome model family: binomial Outcome model link: logit Fixed center effects: TRUE Fixed time effects: FALSE Outcome goal: 0.7 Power goal: not specified Intervention component costs: c(0, 1700), c(0, 8000) Intervention lower bounds: 0, 0 Intervention upper bounds: 40, 5 -- Outcome model fit Standard errors are those of the fitted glm(). -- Overall intervention-effect test To see the overall test results, include a 'group' column in the data with values 'treatment' or 'control' (binary outcomes only). -- Recommended intervention coaching_updt: 0 launch_duration: 1.8857 Cost: 15085 Estimated outcome: 0.7 95% CI for the estimated outcome: 0.656 - 0.744 Outcome goal: 0.7 -- Confidence set 95% confidence set size: 4.55% of the grid IQR of the cost within the 95% confidence set: 19400 - 49400 First rows of the confidence set (use $cs for all): value gear qsec rec_int_cost est_outcome_goal status 1 40 10 11.957433 115.74460 40 ok 2 35 10 9.239851 99.43910 35 ok 3 30 10 6.522269 83.13361 30 ok When 'cost_list_of_vectors' is provided, 'default_cost_fxn_type' is ignored. Loading required package: shiny If the confidence set calculation takes a long time to run, please consider changing the confidence set step size. Estimate Std. Error (Intercept) -2.29989 0.068371 coaching_updt 0.02514 0.006112 launch_duration 1.02447 0.074135 birth_volume_100 0.66451 0.029627 coaching_updt launch_duration birth_volume_100 CI_lower_bound 81 40 1.5 1.75 0.755 108 27 2.0 1.75 0.811 109 28 2.0 1.75 0.814 110 29 2.0 1.75 0.816 111 30 2.0 1.75 0.819 112 31 2.0 1.75 0.822 CI_upper_bound cost 81 0.851 80000 108 0.851 61900 109 0.855 63600 110 0.859 65300 111 0.863 67000 112 0.867 68700 If the confidence set calculation takes a long time to run, please consider changing the confidence set step size. Estimate Std. Error (Intercept) -30.711 9.6702 gear 4.871 1.0814 qsec 1.840 0.4465 gear qsec CI_lower_bound CI_upper_bound cost 45 10 3 6.902 40.137 62 56 10 4 9.261 41.458 68 67 10 5 11.589 42.810 74 78 10 6 13.881 44.197 80 89 10 7 16.136 45.622 86 99 9 8 15.118 40.577 88 Estimate Std. Error (Intercept) 30.73590 1.331566 disp -0.03035 0.007405 hp -0.02484 0.013385 Estimate Std. Error (Intercept) -30.711 9.6702 gear 4.871 1.0814 qsec 1.840 0.4465 Estimate Std. Error (Intercept) -4.120 2.103 dose 2.747 1.285 value gear qsec rec_int_cost est_outcome_goal status 1 30 10 6.522269 83.13361 30 ok 2 35 10 9.239851 99.43910 35 ok 3 40 10 11.957433 115.74460 40 ok When 'cost_list_of_vectors' is provided, 'default_cost_fxn_type' is ignored. When 'cost_list_of_vectors' is provided, 'default_cost_fxn_type' is ignored. When 'cost_list_of_vectors' is provided, 'default_cost_fxn_type' is ignored. [ FAIL 1 | WARN 0 | SKIP 50 | PASS 2655 ] ══ Skipped tests (50) ══════════════════════════════════════════════════════════ • On CRAN (50): 'test-duplicate-coefficient-names.R:114:3', 'test-goal-modes-and-diagnostics.R:34:3', 'test-hunt2-fixes.R:85:3', 'test-hunt2-fixes.R:110:3', 'test-hunt3-fixes.R:93:3', 'test-hunt3-fixes.R:140:3', 'test-hunt3-fixes.R:155:3', 'test-hunt4-fixes.R:114:3', 'test-hunt4-fixes.R:266:3', 'test-hunt5-fixes.R:303:3', 'test-hunt6-fixes.R:160:3', 'test-hunt6-fixes.R:216:3', 'test-icc-power.R:264:3', 'test-lago-app.R:73:3', 'test-lago-app.R:253:3', 'test-lago-app.R:279:3', 'test-lago-app.R:560:3', 'test-lago-app.R:582:3', 'test-lago-budget.R:30:3', 'test-lago-budget.R:58:3', 'test-lago-budget.R:67:3', 'test-lago-budget.R:78:3', 'test-lago-budget.R:101:3', 'test-lago-budget.R:116:3', 'test-lago-budget.R:155:3', 'test-lago-budget.R:168:3', 'test-lago-budget.R:177:3', 'test-lago-budget.R:197:3', 'test-lago-budget.R:262:3', 'test-minimize-and-bounds.R:310:3', 'test-minimize-and-bounds.R:643:3', 'test-optimization.R:93:3', 'test-optimization.R:151:3', 'test-optimization.R:191:3', 'test-presentation.R:57:1', 'test-presentation.R:80:1', 'test-presentation.R:102:1', 'test-presentation.R:125:1', 'test-presentation.R:150:1', 'test-report.R:102:3', 'test-report.R:119:3', 'test-report.R:146:3', 'test-report.R:161:3', 'test-report.R:176:3', 'test-report.R:196:3', 'test-report.R:226:3', 'test-sweep-messages.R:106:3', 'test-unit-cost-doses.R:49:3', 'test-unit-cost-doses.R:70:3', 'test-unit-cost-doses.R:89:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-hunt-fixes.R:295:3'): shrinking finishes for a needed coefficient far above 100 ── Expected `proc.time()[["elapsed"]] - started` < 30. Actual comparison: 233.3 >= 30.0 Difference: 203.3 >= 0 [ FAIL 1 | WARN 0 | SKIP 50 | PASS 2655 ] Error: ! Test failures. Execution halted ==200886== ==200886== HEAP SUMMARY: ==200886== in use at exit: 317,220,902 bytes in 66,299 blocks ==200886== total heap usage: 6,462,195 allocs, 6,395,896 frees, 17,155,914,259 bytes allocated ==200886== ==200886== LEAK SUMMARY: ==200886== definitely lost: 0 bytes in 0 blocks ==200886== indirectly lost: 0 bytes in 0 blocks ==200886== possibly lost: 0 bytes in 0 blocks ==200886== still reachable: 317,219,054 bytes in 66,278 blocks ==200886== suppressed: 0 bytes in 0 blocks ==200886== Reachable blocks (those to which a pointer was found) are not shown. ==200886== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==200886== ==200886== For lists of detected and suppressed errors, rerun with: -s ==200886== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) * checking package vignettes ... OK * checking re-building of vignette outputs ... [168s/169s] OK * DONE Status: 1 ERROR See ‘/data/localhost/ripley/R/packages/tests-vg/LAGOtrials.Rcheck/00check.log’ for details. Command exited with non-zero status 1 Time 1:39:02, 5077.41 + 11.10