R Under development (unstable) (2024-05-08 r86528 ucrt) -- "Unsuffered Consequences" Copyright (C) 2024 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. > > if (requireNamespace("testthat")) { + library("testthat") + library("popEpi") + library("data.table") + + using_r_devel <- grepl(pattern = "devel", x = R.version$status) + if (using_r_devel) { + ## memory leak problem in data.table 1.11.2 in R-devel (3.6.0 atm) + requireNamespace("data.table") + data.table::setDTthreads(threads = 1L) + } + + testthat::test_check("popEpi") + } Loading required namespace: testthat NOTE: entry.status has been set to "DM" for all. first.bad.surv.int last.bad.surv.int surv.obs 1: 61 120 NaN first.bad.surv.int last.bad.surv.int surv.obs 1: 61 120 NaN Key: agegr first.bad.surv.int last.bad.surv.int surv.obs 1: 3 61 120 NaN Key: agegr first.bad.surv.int last.bad.surv.int surv.obs 1: 3 61 120 NaN [ FAIL 0 | WARN 0 | SKIP 41 | PASS 271 ] ══ Skipped tests (41) ══════════════════════════════════════════════════════════ • Unit tests skipped normally (41): 'test_aggre.R:162:3', 'test_aggre.R:199:3', 'test_expo.R:4:3', 'test_lexpand.R:5:3', 'test_lexpand.R:29:3', 'test_lexpand.R:59:3', 'test_lexpand.R:78:3', 'test_lexpand.R:99:3', 'test_lexpand.R:137:3', 'test_lexpand.R:213:3', 'test_lexpand.R:249:3', 'test_lexpand.R:342:3', 'test_relpois_mean_curve.R:4:3', 'test_sir.R:221:5', 'test_sir.R:257:3', 'test_splitLexisDT.R:4:3', 'test_splitMulti.R:9:3', 'test_splitting_breaks.R:5:3', 'test_splitting_breaks.R:39:3', 'test_splitting_randomly_on_fixed_data.R:9:3', 'test_splitting_randomly_on_random_data.R:9:3', 'test_survmean.R:6:3', 'test_survmean.R:76:3', 'test_survmean.R:117:3', 'test_survmean.R:166:3', 'test_survmean.R:265:3', 'test_survtab_adjusted.R:4:3', 'test_survtab_observed.R:67:3', 'test_survtab_relative.R:80:5', 'test_survtab_usage.R:6:3', 'test_survtab_usage.R:121:3', 'test_survtab_usage.R:198:3', 'test_survtab_usage.R:432:3', 'test_utils.R:4:3', 'test_utils.R:27:3', 'test_utils.R:138:3', 'test_utils.R:179:3', 'test_weighter.R:5:3', 'test_weighter.R:47:3', 'test_weighter.R:99:3', 'test_weighter.R:122:3' [ FAIL 0 | WARN 0 | SKIP 41 | PASS 271 ] > > proc.time() user system elapsed 63.82 13.32 77.36