R Under development (unstable) (2026-03-08 r89575) -- "Unsuffered Consequences" Copyright (C) 2026 The R Foundation for Statistical Computing Platform: x86_64-pc-linux-gnu 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(epicR) epicR: Using config files from: /data/gannet/ripley/.config/R/epicR/config To reset configs to defaults, use: reset_user_configs() Attaching package: 'epicR' The following object is masked from 'package:stats': simulate > > test_check("epicR") Initializing the session Working directory: /data/gannet/ripley/R/packages/tests-clang-UBSAN/epicR.Rcheck/tests/testthat Running EPIC model for jurisdiction: CANADA Record mode: record_mode_none (0) Note: No events will be recorded. Use record_mode_event (2) or record_mode_agent (1) to record events. Simulating 60000 base agents: model_events.cpp:680:11: runtime error: index 3 out of bounds for type 'double[3]' #0 0x7fc94405991e in event_exacerbation_process(agent*) /data/gannet/ripley/R/packages/tests-clang-UBSAN/epicR/src/model_events.cpp:680:71 #1 0x7fc9440421d5 in model_run(int) /data/gannet/ripley/R/packages/tests-clang-UBSAN/epicR/src/model.cpp:1603:11 #2 0x7fc94400d526 in _epicR_model_run /data/gannet/ripley/R/packages/tests-clang-UBSAN/epicR/src/RcppExports.cpp:144:34 #3 0x557a6c3a0510 in R_doDotCall (/data/gannet/ripley/R/R-clang/bin/exec/R+0x8f510) #4 0x557a6c3e9f67 in bcEval_loop eval.c #5 0x557a6c3d80bb in bcEval eval.c #6 0x557a6c3d7844 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc6844) #7 0x557a6c3ef8d8 in R_execClosure eval.c #8 0x557a6c3eeddb in applyClosure_core eval.c #9 0x557a6c3d7c95 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc6c95) #10 0x557a6c3f3f4a in do_begin (/data/gannet/ripley/R/R-clang/bin/exec/R+0xe2f4a) #11 0x557a6c3d7a6f in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc6a6f) #12 0x557a6c3f6277 in do_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xe5277) #13 0x557a6c3ded33 in bcEval_loop eval.c #14 0x557a6c3d80bb in bcEval eval.c #15 0x557a6c3d7844 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc6844) #16 0x557a6c3ef8d8 in R_execClosure eval.c #17 0x557a6c3eeddb in applyClosure_core eval.c #18 0x557a6c3d7c95 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc6c95) #19 0x557a6c3f6657 in do_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xe5657) #20 0x557a6c3ded33 in bcEval_loop eval.c #21 0x557a6c3d80bb in bcEval eval.c #22 0x557a6c3d7844 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc6844) #23 0x557a6c3ef8d8 in R_execClosure eval.c #24 0x557a6c3eeddb in applyClosure_core eval.c #25 0x557a6c3f2294 in R_forceAndCall (/data/gannet/ripley/R/R-clang/bin/exec/R+0xe1294) #26 0x557a6c3267eb in do_lapply (/data/gannet/ripley/R/R-clang/bin/exec/R+0x157eb) #27 0x557a6c4397a7 in do_internal (/data/gannet/ripley/R/R-clang/bin/exec/R+0x1287a7) #28 0x557a6c3def95 in bcEval_loop eval.c #29 0x557a6c3d80bb in bcEval eval.c #30 0x557a6c3d7844 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc6844) #31 0x557a6c3ef8d8 in R_execClosure eval.c #32 0x557a6c3eeddb in applyClosure_core eval.c #33 0x557a6c3d7c95 in Rf_eval (/data/gannet/ripley/R/R-clang/bin/exec/R+0xc6c95) #34 0x557a6c424717 in Rf_ReplIteration (/data/gannet/ripley/R/R-clang/bin/exec/R+0x113717) #35 0x557a6c42621e in run_Rmainloop (/data/gannet/ripley/R/R-clang/bin/exec/R+0x11521e) #36 0x557a6c42628a in Rf_mainloop (/data/gannet/ripley/R/R-clang/bin/exec/R+0x11528a) #37 0x557a6c312db7 in main (/data/gannet/ripley/R/R-clang/bin/exec/R+0x1db7) #38 0x7fc954e12574 in __libc_start_call_main (/lib64/libc.so.6+0x3574) (BuildId: 92b5376d35bb29c098175948cf3e7cbcae3aeae1) #39 0x7fc954e12627 in __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x3627) (BuildId: 92b5376d35bb29c098175948cf3e7cbcae3aeae1) #40 0x557a6c312cd4 in _start (/data/gannet/ripley/R/R-clang/bin/exec/R+0x1cd4) SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior model_events.cpp:680:11 10% 20% 30% 40% 50% 60% 70% 80% 90% 100% Terminating the session Initializing the session Working directory: /data/gannet/ripley/R/packages/tests-clang-UBSAN/epicR.Rcheck/tests/testthat Running EPIC model (with custom input parameters) Record mode: record_mode_none (0) Note: No events will be recorded. Use record_mode_event (2) or record_mode_agent (1) to record events. Simulating 60000 base agents: 10% 20% 30% 40% 50% 60% 70% 80% 90% Terminating the session Attaching package: 'dplyr' The following objects are masked from 'package:stats': filter, lag The following objects are masked from 'package:base': intersect, setdiff, setequal, union Initializing the session Working directory: /data/gannet/ripley/R/packages/tests-clang-UBSAN/epicR.Rcheck/tests/testthat Running EPIC model for jurisdiction: CANADA Record mode: record_mode_none (0) Note: No events will be recorded. Use record_mode_event (2) or record_mode_agent (1) to record events. Simulating 60000 base agents: 10% 20% 30% 40% 50% 60% 70% 80% 90% 100% Terminating the session Initializing the session Working directory: /data/gannet/ripley/R/packages/tests-clang-UBSAN/epicR.Rcheck/tests/testthat Running EPIC model (with custom input parameters) Record mode: record_mode_none (0) Note: No events will be recorded. Use record_mode_event (2) or record_mode_agent (1) to record events. Simulating 60000 base agents: 10% 20% 30% 40% 50% 60% 70% 80% 90% 100% Terminating the session Terminating the session Initializing the session Working directory: /data/gannet/ripley/R/packages/tests-clang-UBSAN/epicR.Rcheck/tests/testthat Running EPIC model for jurisdiction: CANADA Record mode: record_mode_none (0) Note: No events will be recorded. Use record_mode_event (2) or record_mode_agent (1) to record events. Simulating 60000 base agents: 10% 20% 30% 40% 50% 60% 70% 80% 90% 100% Terminating the session Initializing the session Working directory: /data/gannet/ripley/R/packages/tests-clang-UBSAN/epicR.Rcheck/tests/testthat Running EPIC model for jurisdiction: CANADA Record mode: record_mode_event (2) Simulating 60000 base agents: 10% 20% 30% 40% 50% 60% 70% 80% 90% 100% Terminating the session Initializing the session Working directory: /data/gannet/ripley/R/packages/tests-clang-UBSAN/epicR.Rcheck/tests/testthat Running EPIC model for jurisdiction: CANADA Record mode: record_mode_none (0) Note: No events will be recorded. Use record_mode_event (2) or record_mode_agent (1) to record events. Simulating 60000 base agents: 10% 20% 30% 40% 50% 60% 70% 80% 90% 100% Terminating the session Initializing the session Working directory: /data/gannet/ripley/R/packages/tests-clang-UBSAN/epicR.Rcheck/tests/testthat test 1: zero all costs Running EPIC model (with custom input parameters) Record mode: record_mode_none (0) Note: No events will be recorded. Use record_mode_event (2) or record_mode_agent (1) to record events. Simulating 60000 base agents: Test passed! Terminating the session test 2: zero all utilities Initializing the session Working directory: /data/gannet/ripley/R/packages/tests-clang-UBSAN/epicR.Rcheck/tests/testthat Running EPIC model (with custom input parameters) Record mode: record_mode_none (0) Note: No events will be recorded. Use record_mode_event (2) or record_mode_agent (1) to record events. Simulating 60000 base agents: Test passed! Terminating the session test 3: set all utilities to 1 and get one QALY without discount Initializing the session Working directory: /data/gannet/ripley/R/packages/tests-clang-UBSAN/epicR.Rcheck/tests/testthat Running EPIC model (with custom input parameters) Record mode: record_mode_none (0) Note: No events will be recorded. Use record_mode_event (2) or record_mode_agent (1) to record events. Simulating 60000 base agents: Test passed! Terminating the session test 4: zero mortality (both bg and exac) Initializing the session Working directory: /data/gannet/ripley/R/packages/tests-clang-UBSAN/epicR.Rcheck/tests/testthat Running EPIC model (with custom input parameters) Record mode: record_mode_none (0) Note: No events will be recorded. Use record_mode_event (2) or record_mode_agent (1) to record events. Simulating 60000 base agents: Test passed! Terminating the session Initializing the session Working directory: /data/gannet/ripley/R/packages/tests-clang-UBSAN/epicR.Rcheck/tests/testthat Running EPIC model for jurisdiction: CANADA Record mode: record_mode_none (0) Note: No events will be recorded. Use record_mode_event (2) or record_mode_agent (1) to record events. Simulating 60000 base agents: 10% 20% 30% 40% 50% 60% 70% 80% 90% 100% Terminating the session [ FAIL 0 | WARN 3 | SKIP 9 | PASS 2372 ] ══ Skipped tests (9) ═══════════════════════════════════════════════════════════ • Core source file not found (7): 'test-config-reload.R:135:3', 'test-config-reload.R:169:3', 'test-seed-reproducibility.R:58:3', 'test-seed-reproducibility.R:90:3', 'test-seed-reproducibility.R:135:3', 'test-seed-reproducibility.R:210:3', 'test-seed-reproducibility.R:242:3' • Input source file not found (1): 'test-config-reload.R:198:3' • Source file not available (1): 'test-input-functions.R:144:3' [ FAIL 0 | WARN 3 | SKIP 9 | PASS 2372 ] > > proc.time() user system elapsed 213.376 7.840 268.651