Running ‘testthat.R’ [6s/6s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > test_check("OhdsiReportGenerator")
  Loading required package: OhdsiReportGenerator
  Connecting using SQLite driver
  [ FAIL 2 | WARN 1 | SKIP 2 | PASS 384 ]
  
  ══ Skipped tests (2) ═══════════════════════════════════════════════════════════
  • empty test (1): 'test-Helpers.R:89:1'
  • skip prediction report due to odd linux error (1):
    'test-PredictionReport.R:5:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-Generate.R:10:3'): generatePresentationMultiple ────────────────
  Error in `find_quarto()`: Quarto command-line tools path not found!
  Please make sure you have installed and added Quarto to your PATH or set the
  QUARTO_PATH environment variable.
  Backtrace:
      ▆
   1. └─OhdsiReportGenerator::generatePresentationMultiple(...) at test-Generate.R:10:3
   2.   └─quarto::quarto_render(...)
   3.     └─quarto:::find_quarto()
   4.       └─cli::cli_abort(quarto_not_found_msg)
   5.         └─rlang::abort(...)
  ── Error ('test-Helpers.R:105:1'): kableDark ───────────────────────────────────
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])`: there is no package called 'systemfonts'
  Backtrace:
       ▆
    1. ├─OhdsiReportGenerator::kableDark(...) at test-Helpers.R:105:1
    2. │ └─... %>% ...
    3. └─base::loadNamespace(x)
    4.   ├─base::namespaceImportFrom(...)
    5.   │ └─base::asNamespace(ns)
    6.   └─base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
    7.     ├─base::namespaceImportFrom(...)
    8.     │ └─base::asNamespace(ns)
    9.     └─base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   10.       └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   11.         └─base (local) withOneRestart(expr, restarts[[1L]])
   12.           └─base (local) doWithOneRestart(return(expr), restart)
  
  [ FAIL 2 | WARN 1 | SKIP 2 | PASS 384 ]
  Error: Test failures
  Execution halted
  Closing database connection