Running ‘testthat.R’ [605s/535s]
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 2 | WARN 56 | SKIP 48 | PASS 33 ]
  
  ══ 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 ════════════════════════════════════════════════════════════════
  ── Failure ('test-reexports-omopgenerics.R:30:3'): omopgenerics reexports work ──
  isTRUE(all.equal(surv, surv_nosup, check.attributes = FALSE)) is not FALSE
  
  `actual`:   TRUE 
  `expected`: FALSE
  ── Failure ('test-reexports-omopgenerics.R:34:3'): omopgenerics reexports work ──
  isTRUE(all.equal(surv, surv_nosup_imported, check.attributes = FALSE)) is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  
  [ FAIL 2 | WARN 56 | SKIP 48 | PASS 33 ]
  Error: Test failures
  Execution halted