CRAN Package Check Results for Maintainer ‘Joonas Miettinen <joonas.miettinen at cancer.fi>’

Last updated on 2026-01-21 01:49:22 CET.

Package ERROR OK
popEpi 6 7

Package popEpi

Current CRAN status: ERROR: 6, OK: 7

Version: 0.4.13
Check: tests
Result: ERROR Running ‘testthat.R’ [76s/100s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > > 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 Attaching package: 'data.table' The following object is masked from 'package:base': %notin% Saving _problems/test_Surv-18.R NOTE: entry.status has been set to "DM" for all. first.bad.surv.int last.bad.surv.int surv.obs <int> <int> <num> 1: 61 120 NaN first.bad.surv.int last.bad.surv.int surv.obs <int> <int> <num> 1: 61 120 NaN Key: <agegr> agegr first.bad.surv.int last.bad.surv.int surv.obs <int> <int> <int> <num> 1: 3 61 120 NaN Key: <agegr> agegr first.bad.surv.int last.bad.surv.int surv.obs <int> <int> <int> <num> 1: 3 61 120 NaN [ FAIL 1 | WARN 0 | SKIP 41 | PASS 270 ] ══ 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:81: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' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test_Surv.R:15:3'): survival::Surv and popEpi::Surv's formals are in harmony ── Expected `popepi_formals` to be identical to `survival_formals`. Differences: Component "type": target, current do not match when deparsed [ FAIL 1 | WARN 0 | SKIP 41 | PASS 270 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-debian-clang

Version: 0.4.13
Check: tests
Result: ERROR Running ‘testthat.R’ [53s/70s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > > 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 Attaching package: 'data.table' The following object is masked from 'package:base': %notin% Saving _problems/test_Surv-18.R NOTE: entry.status has been set to "DM" for all. first.bad.surv.int last.bad.surv.int surv.obs <int> <int> <num> 1: 61 120 NaN first.bad.surv.int last.bad.surv.int surv.obs <int> <int> <num> 1: 61 120 NaN Key: <agegr> agegr first.bad.surv.int last.bad.surv.int surv.obs <int> <int> <int> <num> 1: 3 61 120 NaN Key: <agegr> agegr first.bad.surv.int last.bad.surv.int surv.obs <int> <int> <int> <num> 1: 3 61 120 NaN [ FAIL 1 | WARN 0 | SKIP 41 | PASS 270 ] ══ 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:81: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' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test_Surv.R:15:3'): survival::Surv and popEpi::Surv's formals are in harmony ── Expected `popepi_formals` to be identical to `survival_formals`. Differences: Component "type": target, current do not match when deparsed [ FAIL 1 | WARN 0 | SKIP 41 | PASS 270 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.4.13
Check: tests
Result: ERROR Running ‘testthat.R’ [124s/180s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > > 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 Attaching package: 'data.table' The following object is masked from 'package:base': %notin% Saving _problems/test_Surv-18.R NOTE: entry.status has been set to "DM" for all. first.bad.surv.int last.bad.surv.int surv.obs <int> <int> <num> 1: 61 120 NaN first.bad.surv.int last.bad.surv.int surv.obs <int> <int> <num> 1: 61 120 NaN Key: <agegr> agegr first.bad.surv.int last.bad.surv.int surv.obs <int> <int> <int> <num> 1: 3 61 120 NaN Key: <agegr> agegr first.bad.surv.int last.bad.surv.int surv.obs <int> <int> <int> <num> 1: 3 61 120 NaN [ FAIL 1 | WARN 0 | SKIP 41 | PASS 270 ] ══ 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:81: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' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test_Surv.R:15:3'): survival::Surv and popEpi::Surv's formals are in harmony ── Expected `popepi_formals` to be identical to `survival_formals`. Differences: Component "type": target, current do not match when deparsed [ FAIL 1 | WARN 0 | SKIP 41 | PASS 270 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-fedora-clang

Version: 0.4.13
Check: tests
Result: ERROR Running ‘testthat.R’ [133s/135s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > > 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 Attaching package: 'data.table' The following object is masked from 'package:base': %notin% Saving _problems/test_Surv-18.R NOTE: entry.status has been set to "DM" for all. first.bad.surv.int last.bad.surv.int surv.obs <int> <int> <num> 1: 61 120 NaN first.bad.surv.int last.bad.surv.int surv.obs <int> <int> <num> 1: 61 120 NaN Key: <agegr> agegr first.bad.surv.int last.bad.surv.int surv.obs <int> <int> <int> <num> 1: 3 61 120 NaN Key: <agegr> agegr first.bad.surv.int last.bad.surv.int surv.obs <int> <int> <int> <num> 1: 3 61 120 NaN [ FAIL 1 | WARN 0 | SKIP 41 | PASS 270 ] ══ 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:81: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' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test_Surv.R:15:3'): survival::Surv and popEpi::Surv's formals are in harmony ── Expected `popepi_formals` to be identical to `survival_formals`. Differences: Component "type": target, current do not match when deparsed [ FAIL 1 | WARN 0 | SKIP 41 | PASS 270 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-fedora-gcc

Version: 0.4.13
Check: tests
Result: ERROR Running ‘testthat.R’ [133s/143s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > > 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 Saving _problems/test_Surv-18.R NOTE: entry.status has been set to "DM" for all. first.bad.surv.int last.bad.surv.int surv.obs <int> <int> <num> 1: 61 120 NaN first.bad.surv.int last.bad.surv.int surv.obs <int> <int> <num> 1: 61 120 NaN Key: <agegr> agegr first.bad.surv.int last.bad.surv.int surv.obs <int> <int> <int> <num> 1: 3 61 120 NaN Key: <agegr> agegr first.bad.surv.int last.bad.surv.int surv.obs <int> <int> <int> <num> 1: 3 61 120 NaN [ FAIL 1 | WARN 0 | SKIP 41 | PASS 270 ] ══ 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:81: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' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test_Surv.R:15:3'): survival::Surv and popEpi::Surv's formals are in harmony ── Expected `popepi_formals` to be identical to `survival_formals`. Differences: Component "type": target, current do not match when deparsed [ FAIL 1 | WARN 0 | SKIP 41 | PASS 270 ] Error: ! Test failures. Execution halted Flavor: r-release-linux-x86_64

Version: 0.4.13
Check: tests
Result: ERROR Running 'testthat.R' [101s] Running the tests in 'tests/testthat.R' failed. Complete output: > > 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 Saving _problems/test_Surv-18.R NOTE: entry.status has been set to "DM" for all. first.bad.surv.int last.bad.surv.int surv.obs <int> <int> <num> 1: 61 120 NaN first.bad.surv.int last.bad.surv.int surv.obs <int> <int> <num> 1: 61 120 NaN Key: <agegr> agegr first.bad.surv.int last.bad.surv.int surv.obs <int> <int> <int> <num> 1: 3 61 120 NaN Key: <agegr> agegr first.bad.surv.int last.bad.surv.int surv.obs <int> <int> <int> <num> 1: 3 61 120 NaN [ FAIL 1 | WARN 0 | SKIP 41 | PASS 270 ] ══ 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:81: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' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test_Surv.R:15:3'): survival::Surv and popEpi::Surv's formals are in harmony ── Expected `popepi_formals` to be identical to `survival_formals`. Differences: Component "type": target, current do not match when deparsed [ FAIL 1 | WARN 0 | SKIP 41 | PASS 270 ] Error: ! Test failures. Execution halted Flavor: r-oldrel-windows-x86_64

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.