Running ‘testthat.R’ [114s/75s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(IncidencePrevalence)
  > 
  > test_check("IncidencePrevalence")
  Starting 2 test processes
  [ FAIL 1 | WARN 0 | SKIP 97 | PASS 59 ]
  
  ══ Skipped tests (97) ══════════════════════════════════════════════════════════
  • On CRAN (97): 'test-dateUtilities.R:2:3',
    'test-benchmarkIncidencePrevalence.R:2:3',
    'test-benchmarkIncidencePrevalence.R:45:3', 'test-estimatePrevalence.R:40:3',
    'test-estimatePrevalence.R:92:3', 'test-estimatePrevalence.R:149:3',
    'test-estimatePrevalence.R:268:3', 'test-estimatePrevalence.R:412:3',
    'test-estimatePrevalence.R:494:3', 'test-estimatePrevalence.R:645:3',
    'test-estimatePrevalence.R:696:3', 'test-estimatePrevalence.R:741:3',
    'test-estimatePrevalence.R:796:3', 'test-estimatePrevalence.R:844:3',
    'test-estimatePrevalence.R:868:3', 'test-estimatePrevalence.R:893:3',
    'test-estimatePrevalence.R:1034:3', 'test-estimatePrevalence.R:1081:3',
    'test-estimatePrevalence.R:1114:3', 'test-estimatePrevalence.R:1193:3',
    'test-estimatePrevalence.R:1245:3', 'test-estimatePrevalence.R:1415:3',
    'test-estimatePrevalence.R:1457:3', 'test-estimatePrevalence.R:1503:3',
    'test-estimateIncidence.R:57:3', 'test-estimateIncidence.R:120:3',
    'test-estimateIncidence.R:230:3', 'test-estimateIncidence.R:300:3',
    'test-estimateIncidence.R:399:3', 'test-estimateIncidence.R:503:3',
    'test-estimateIncidence.R:598:3', 'test-estimateIncidence.R:762:3',
    'test-estimateIncidence.R:869:3', 'test-estimateIncidence.R:1063:3',
    'test-estimateIncidence.R:1127:3', 'test-estimateIncidence.R:1184:3',
    'test-estimateIncidence.R:1269:3', 'test-estimateIncidence.R:1413:3',
    'test-estimateIncidence.R:1529:3', 'test-estimateIncidence.R:1608:3',
    'test-estimateIncidence.R:1716:3', 'test-estimateIncidence.R:1820:3',
    'test-estimateIncidence.R:1979:3', 'test-estimateIncidence.R:2035:3',
    'test-estimateIncidence.R:2233:3', 'test-estimateIncidence.R:2432:3',
    'test-estimateIncidence.R:2517:3', 'test-estimateIncidence.R:2943:3',
    'test-estimateIncidence.R:2991:3', 'test-estimateIncidence.R:3046:3',
    'test-estimateIncidence.R:3104:3', 'test-estimateIncidence.R:3127:3',
    'test-estimateIncidence.R:3142:3', 'test-estimateIncidence.R:3182:3',
    'test-estimateIncidence.R:3344:3', 'test-estimateIncidence.R:3423:3',
    'test-estimateIncidence.R:3467:3', 'test-estimateIncidence.R:3513:3',
    'test-estimateIncidence.R:3561:3', 'test-mockIncidencePrevalence.R:2:3',
    'test-mockIncidencePrevalence.R:39:3', 'test-mockIncidencePrevalence.R:69:3',
    'test-mockIncidencePrevalence.R:171:3', 'test-plotting.R:2:3',
    'test-plotting.R:216:3', 'test-plotting.R:265:3', 'test-plotting.R:315:3',
    'test-plotting.R:379:3', 'test-tables.R:2:3', 'test-tables.R:126:3',
    'test-tidyResults.R:2:3', 'test-tidyResults.R:57:3',
    'test-generateDenominatorCohortSet.R:138:3',
    'test-generateDenominatorCohortSet.R:185:3',
    'test-generateDenominatorCohortSet.R:289:3',
    'test-generateDenominatorCohortSet.R:326:3',
    'test-generateDenominatorCohortSet.R:591:3',
    'test-generateDenominatorCohortSet.R:641:3',
    'test-generateDenominatorCohortSet.R:720:3',
    'test-generateDenominatorCohortSet.R:812:3',
    'test-generateDenominatorCohortSet.R:855:3',
    'test-generateDenominatorCohortSet.R:907:3',
    'test-generateDenominatorCohortSet.R:991:3',
    'test-generateDenominatorCohortSet.R:1118:3',
    'test-generateDenominatorCohortSet.R:1199:3',
    'test-generateDenominatorCohortSet.R:1263:3',
    'test-generateDenominatorCohortSet.R:1316:3',
    'test-generateDenominatorCohortSet.R:1374:3',
    'test-generateDenominatorCohortSet.R:1449:3',
    'test-generateDenominatorCohortSet.R:1572:3',
    'test-generateDenominatorCohortSet.R:1673:3',
    'test-generateDenominatorCohortSet.R:1726:3',
    'test-generateDenominatorCohortSet.R:1789:3',
    'test-generateDenominatorCohortSet.R:2018:3',
    'test-generateDenominatorCohortSet.R:2109:3',
    'test-generateDenominatorCohortSet.R:2309:3',
    'test-generateDenominatorCohortSet.R:2413:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-estimateIncidence.R:1049:3'): mock db: multiple denominator inputs ──
  <rlib_error_package_not_found/rlang_error/error/condition>
  Error in `tableIncidence(inc_1, type = "tibble")`: The package "visOmopResults" (>= 1.0.2) is required.
  Backtrace:
      ▆
   1. ├─testthat::expect_identical(...) at test-estimateIncidence.R:1049:3
   2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─IncidencePrevalence::tableIncidence(inc_1, type = "tibble")
   5.   └─rlang::check_installed("visOmopResults", version = "1.0.2")
  
  [ FAIL 1 | WARN 0 | SKIP 97 | PASS 59 ]
  Error: Test failures
  Execution halted