Running ‘testthat.R’ [10m/23m]
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 42 | SKIP 46 | PASS 39 ]
  
  ══ Skipped tests (46) ══════════════════════════════════════════════════════════
  • On CRAN (46): '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:342:3', 'test-estimateSurvival.R:556:3',
    'test-estimateSurvival.R:707:3', 'test-estimateSurvival.R:1232:3',
    'test-estimateSurvival.R:1358:3', 'test-estimateSurvival.R:1380:3',
    'test-estimateSurvival.R:1455:3', 'test-estimateSurvival.R:1651:3',
    'test-estimateSurvival.R:1775:3', 'test-estimateSurvival.R:1805:3',
    'test-estimateSurvival.R:1824:3', 'test-estimateSurvival.R:1860:3',
    'test-estimateSurvival.R:1995:3', 'test-estimateSurvival.R:2124:3',
    'test-estimateSurvival.R:2234:5'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-reexports-omopgenerics.R:15:3'): omopgenerics reexports work ───
  Error in `tempdir(check)`: NA in coercion to Rboolean
  Backtrace:
      ▆
   1. └─base::tempdir("result") at test-reexports-omopgenerics.R:15:3
  
  [ FAIL 1 | WARN 42 | SKIP 46 | PASS 39 ]
  Error: Test failures
  Execution halted