Running ‘testthat.R’ [3s/12s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(DBI)
  > library(pool)
  > 
  > test_check("pool")
  [ FAIL 3 | WARN 0 | SKIP 0 | PASS 181 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-DBI-connection.R:5:1): (code run outside of `test_that()`) ──────
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'RSQLite'
  Backtrace:
       ▆
    1. ├─testthat::setup(...) at test-DBI-connection.R:5:0
    2. │ └─rlang::eval_tidy(enquo(code), env = env)
    3. ├─pool::dbPool(RSQLite::SQLite()) at test-DBI-connection.R:6:2
    4. │ ├─base::do.call(poolCreate, c(list(factory, state = state), poolCreate_args))
    5. │ └─pool `<fn>`(`<fn>`, state = `<env>`)
    6. │   └─Pool$new(...)
    7. │     └─pool initialize(...)
    8. │       └─private$createObject()
    9. │         └─private$factory()
   10. │           └─base::do.call(dbConnect, c(list(drv), dbConnect_args))
   11. └─base::loadNamespace(x)
   12.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   13.     └─base withOneRestart(expr, restarts[[1L]])
   14.       └─base doWithOneRestart(return(expr), restart)
  ── Error (test-dbplyr.R:98:3): left join works ─────────────────────────────────
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'RSQLite'
  Backtrace:
       ▆
    1. ├─pool::dbPool(RSQLite::SQLite(), dbname = tempfile()) at test-dbplyr.R:98:2
    2. │ ├─base::do.call(poolCreate, c(list(factory, state = state), poolCreate_args))
    3. │ └─pool `<fn>`(`<fn>`, state = `<env>`)
    4. │   └─Pool$new(...)
    5. │     └─pool initialize(...)
    6. │       └─private$createObject()
    7. │         └─private$factory()
    8. │           └─base::do.call(dbConnect, c(list(drv), dbConnect_args))
    9. └─base::loadNamespace(x)
   10.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   11.     └─base withOneRestart(expr, restarts[[1L]])
   12.       └─base doWithOneRestart(return(expr), restart)
  ── Error (test-dbplyr.R:107:3): can use schemas with pool ──────────────────────
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'RSQLite'
  Backtrace:
       ▆
    1. ├─pool::dbPool(RSQLite::SQLite(), dbname = tempfile()) at test-dbplyr.R:107:2
    2. │ ├─base::do.call(poolCreate, c(list(factory, state = state), poolCreate_args))
    3. │ └─pool `<fn>`(`<fn>`, state = `<env>`)
    4. │   └─Pool$new(...)
    5. │     └─pool initialize(...)
    6. │       └─private$createObject()
    7. │         └─private$factory()
    8. │           └─base::do.call(dbConnect, c(list(drv), dbConnect_args))
    9. └─base::loadNamespace(x)
   10.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   11.     └─base withOneRestart(expr, restarts[[1L]])
   12.       └─base doWithOneRestart(return(expr), restart)
  
  [ FAIL 3 | WARN 0 | SKIP 0 | PASS 181 ]
  Error: Test failures
  Execution halted