Package: CohortSurvival Check: tests New result: ERROR Running ‘testthat.R’ [251s/190s] 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/tests.html > # * https://testthat.r-lib.org/reference/test_package.html#special-files > > library(testthat) > library(CohortSurvival) > > test_check("CohortSurvival") Starting 2 test processes [ FAIL 1 | WARN 80 | SKIP 48 | PASS 27 ] ══ Skipped tests (48) ══════════════════════════════════════════════════════════ • On CRAN (48): 'test-deathDiagnostics.R:2:3', 'test-deathDiagnostics.R:116:3', 'test-addCohortSurvival.R:71:3', 'test-addCohortSurvival.R:158:3', 'test-addCohortSurvival.R:271:3', 'test-addCohortSurvival.R:377:3', 'test-addCohortSurvival.R:489:3', 'test-addCohortSurvival.R:575:3', 'test-addCohortSurvival.R:675:3', 'test-addCohortSurvival.R:762:3', 'test-generateDeathCohort.R:2:3', 'test-generateDeathCohort.R:61:3', 'test-generateDeathCohort.R:128:3', 'test-generateDeathCohort.R:194:3', 'test-generateDeathCohort.R:261:3', 'test-generateDeathCohort.R:349:3', 'test-generateDeathCohort.R:449:3', 'test-mockMGUS2cdm.R:2:3', 'test-plotSurvival.R:2:3', 'test-plotSurvival.R:19:3', 'test-plotSurvival.R:37:3', 'test-plotSurvival.R:57:3', 'test-plotSurvival.R:77:3', 'test-plotSurvival.R:98:3', 'test-plotSurvival.R:129:3', 'test-plotSurvival.R:149:3', 'test-plotSurvival.R:172:3', 'test-plotSurvival.R:191:3', 'test-tableSurvival.R:2:3', 'test-tableSurvival.R:88:3', 'test-estimateSurvival.R:87:3', 'test-estimateSurvival.R:126:3', 'test-estimateSurvival.R:176:3', 'test-estimateSurvival.R:343:3', 'test-estimateSurvival.R:556:3', 'test-estimateSurvival.R:707:3', 'test-estimateSurvival.R:1224:3', 'test-estimateSurvival.R:1350:3', 'test-estimateSurvival.R:1372:3', 'test-estimateSurvival.R:1448:3', 'test-estimateSurvival.R:1640:3', 'test-estimateSurvival.R:1763:3', 'test-estimateSurvival.R:1793:3', 'test-estimateSurvival.R:1812:3', 'test-estimateSurvival.R:1846:3', 'test-estimateSurvival.R:1979:3', 'test-estimateSurvival.R:2106:3', 'test-estimateSurvival.R:2216:5' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-reexports-omopgenerics.R:16:3'): omopgenerics reexports work ─── Error in `omopgenerics::importSummarisedResult(result_path)`: The package "readr" is required. Backtrace: ▆ 1. └─omopgenerics::importSummarisedResult(result_path) at test-reexports-omopgenerics.R:16:3 2. └─rlang::check_installed("readr") [ FAIL 1 | WARN 80 | SKIP 48 | PASS 27 ] Error: Test failures Execution halted Package: IncidencePrevalence Check: tests New result: ERROR Running ‘testthat.R’ [414s/219s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(IncidencePrevalence) > > test_check("IncidencePrevalence") Starting 2 test processes [ FAIL 1 | WARN 23 | SKIP 77 | PASS 136 ] ══ Skipped tests (77) ══════════════════════════════════════════════════════════ • On CRAN (76): 'test-benchmarkIncidencePrevalence.R:2:3', 'test-estimatePrevalence.R:82:3', 'test-estimatePrevalence.R:139:3', 'test-estimatePrevalence.R:258:3', 'test-estimatePrevalence.R:401:3', 'test-estimatePrevalence.R:481:3', 'test-estimatePrevalence.R:623:3', 'test-estimatePrevalence.R:673:3', 'test-estimatePrevalence.R:728:3', 'test-estimatePrevalence.R:776:3', 'test-estimatePrevalence.R:800:3', 'test-estimatePrevalence.R:825:3', 'test-estimatePrevalence.R:958:3', 'test-estimatePrevalence.R:999:3', 'test-estimatePrevalence.R:1028:3', 'test-estimatePrevalence.R:1107:3', 'test-estimatePrevalence.R:1159:3', 'test-estimatePrevalence.R:1306:3', 'test-estimatePrevalence.R:1348:3', 'test-estimateIncidence.R:108:3', 'test-estimateIncidence.R:213:3', 'test-estimateIncidence.R:283:3', 'test-estimateIncidence.R:382:3', 'test-estimateIncidence.R:486:3', 'test-estimateIncidence.R:581:3', 'test-estimateIncidence.R:743:3', 'test-estimateIncidence.R:850:3', 'test-estimateIncidence.R:999:3', 'test-estimateIncidence.R:1063:3', 'test-estimateIncidence.R:1118:3', 'test-estimateIncidence.R:1204:3', 'test-estimateIncidence.R:1349:3', 'test-estimateIncidence.R:1465:3', 'test-estimateIncidence.R:1544:3', 'test-estimateIncidence.R:1652:3', 'test-estimateIncidence.R:1756:3', 'test-estimateIncidence.R:1915:3', 'test-estimateIncidence.R:1971:3', 'test-estimateIncidence.R:2169:3', 'test-estimateIncidence.R:2368:3', 'test-estimateIncidence.R:2452:3', 'test-estimateIncidence.R:2858:3', 'test-estimateIncidence.R:2898:3', 'test-estimateIncidence.R:2947:3', 'test-estimateIncidence.R:3005:3', 'test-estimateIncidence.R:3296:3', 'test-estimateIncidence.R:3338:3', 'test-mockIncidencePrevalence.R:2:3', 'test-mockIncidencePrevalence.R:39:3', 'test-mockIncidencePrevalence.R:67:3', 'test-mockIncidencePrevalence.R:169:3', 'test-plotting.R:2:3', 'test-plotting.R:111:3', 'test-plotting.R:160:3', 'test-plotting.R:210:3', 'test-plotting.R:264:3', 'test-generateDenominatorCohortSet.R:138:3', 'test-generateDenominatorCohortSet.R:185:3', 'test-generateDenominatorCohortSet.R:289:3', 'test-generateDenominatorCohortSet.R:325:3', 'test-generateDenominatorCohortSet.R:581:3', 'test-generateDenominatorCohortSet.R:799:3', 'test-generateDenominatorCohortSet.R:842:3', 'test-generateDenominatorCohortSet.R:894:3', 'test-generateDenominatorCohortSet.R:978:3', 'test-generateDenominatorCohortSet.R:1101:3', 'test-generateDenominatorCohortSet.R:1165:3', 'test-generateDenominatorCohortSet.R:1218:3', 'test-generateDenominatorCohortSet.R:1276:3', 'test-generateDenominatorCohortSet.R:1352:3', 'test-generateDenominatorCohortSet.R:1473:3', 'test-generateDenominatorCohortSet.R:1572:3', 'test-generateDenominatorCohortSet.R:1623:3', 'test-generateDenominatorCohortSet.R:1686:3', 'test-generateDenominatorCohortSet.R:1905:3', 'test-generateDenominatorCohortSet.R:1992:3' • empty test (1): 'test-tables.R:1:1' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-tables.R:72:3'): test importing results ──────────────────────── Error in `omopgenerics::importSummarisedResult(prev_path)`: The package "readr" is required. Backtrace: ▆ 1. └─omopgenerics::importSummarisedResult(prev_path) at test-tables.R:72:3 2. └─rlang::check_installed("readr") [ FAIL 1 | WARN 23 | SKIP 77 | PASS 136 ] Error: Test failures Execution halted