Running ‘testthat.R’ [3s/3s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > test_check("OhdsiShinyAppBuilder")
  Loading required package: OhdsiShinyAppBuilder
  Using DatabaseConnector jdbc driver.
  Initalizing pooled connection
  Using DatabaseConnector jdbc driver.
  Initalizing pooled connection
  [ FAIL 2 | WARN 0 | SKIP 1 | PASS 56 ]
  
  ══ Skipped tests (1) ═══════════════════════════════════════════════════════════
  • {OhdsiShinyModules} is not installed (1): 'test-viewShiny.R:74:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-viewShiny.R:44:3'): shiny works ────────────────────────────────
  Error: 'RSQLite' must be installed for this functionality.
  Backtrace:
       ▆
    1. └─OhdsiShinyAppBuilder::createShinyApp(config = config, connectionDetails = testCd) at test-viewShiny.R:44:3
    2.   └─ResultModelManager::PooledConnectionHandler$new(connectionDetails = connectionDetails)
    3.     └─ResultModelManager (local) initialize(...)
    4.       └─self$initConnection()
    5.         ├─base::do.call(pool::dbPool, private$dbConnectArgs)
    6.         └─pool (local) `<fn>`(...)
    7.           └─pool::poolCreate(...)
    8.             └─Pool$new(...)
    9.               └─pool (local) initialize(...)
   10.                 └─private$createObject(error_call = error_call)
   11.                   └─private$factory()
   12.                     ├─DBI::dbConnect(drv, ...)
   13.                     └─DatabaseConnector::dbConnect(drv, ...)
   14.                       └─DatabaseConnector::connect(...)
   15.                         └─DatabaseConnector::connect(connectionDetails)
   16.                           └─DatabaseConnector:::connectSqlite(connectionDetails)
   17.                             └─DatabaseConnector:::ensure_installed("RSQLite")
  ── Error ('test-viewShiny.R:143:3'): shiny works ───────────────────────────────
  Error: 'RSQLite' must be installed for this functionality.
  Backtrace:
       ▆
    1. └─OhdsiShinyAppBuilder::createShinyApp(...) at test-viewShiny.R:143:3
    2.   └─ResultModelManager::PooledConnectionHandler$new(connectionDetails = connectionDetails)
    3.     └─ResultModelManager (local) initialize(...)
    4.       └─self$initConnection()
    5.         ├─base::do.call(pool::dbPool, private$dbConnectArgs)
    6.         └─pool (local) `<fn>`(...)
    7.           └─pool::poolCreate(...)
    8.             └─Pool$new(...)
    9.               └─pool (local) initialize(...)
   10.                 └─private$createObject(error_call = error_call)
   11.                   └─private$factory()
   12.                     ├─DBI::dbConnect(drv, ...)
   13.                     └─DatabaseConnector::dbConnect(drv, ...)
   14.                       └─DatabaseConnector::connect(...)
   15.                         └─DatabaseConnector::connect(connectionDetails)
   16.                           └─DatabaseConnector:::connectSqlite(connectionDetails)
   17.                             └─DatabaseConnector:::ensure_installed("RSQLite")
  
  [ FAIL 2 | WARN 0 | SKIP 1 | PASS 56 ]
  Error: Test failures
  Execution halted