Running ‘testthat.R’ [4s/6s]
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(pool)
  > 
  > test_check("pool")
  Saving _problems/test-dbplyr-10.R
  Saving _problems/test-dbplyr-30.R
  Saving _problems/test-dbplyr-53.R
  Saving _problems/test-dbplyr-75.R
  Saving _problems/test-dbplyr-105.R
  [ FAIL 5 | WARN 0 | SKIP 21 | PASS 52 ]
  
  ══ Skipped tests (21) ══════════════════════════════════════════════════════════
  • On CRAN (19): 'test-DBI-custom.R:1:1', 'test-DBI-wrap.R:1:1',
    'test-dbplyr.R:40:1', 'test-dbplyr.R:114:3', 'test-hooks.R:11:1',
    'test-pool.R:11:1', 'test-pool.R:18:1', 'test-pool.R:40:1',
    'test-pool.R:90:1', 'test-pool.R:123:1', 'test-pool.R:132:1',
    'test-pool.R:141:1', 'test-pool.R:151:1', 'test-pool.R:155:1',
    'test-pool.R:173:1', 'test-pool.R:184:1', 'test-pool.R:205:1',
    'test-pool.R:216:1', 'test-pool.R:227:1'
  • {dbplyr} is not installed. (2): 'test-dbplyr.R:62:3', 'test-dbplyr.R:84:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-dbplyr.R:5:3'): can copy and collect ───────────────────────────
  <rlib_error_package_not_found/rlang_error/error/condition>
  Error in `check_dbplyr()`: The package "dbplyr" is required to communicate with database backends.
  Backtrace:
      ▆
   1. ├─dplyr::copy_to(...) at test-dbplyr.R:5:3
   2. └─pool:::copy_to.Pool(...)
   3.   └─(function() {...
   4.     ├─dplyr::copy_to(...)
   5.     └─dplyr:::copy_to.DBIConnection(...)
   6.       └─dplyr::check_dbplyr()
   7.         └─rlang::check_installed("dbplyr", "to communicate with database backends.")
  ── Error ('test-dbplyr.R:30:3'): can use one-table verbs ───────────────────────
  <rlib_error_package_not_found/rlang_error/error/condition>
  Error in `check_dbplyr()`: The package "dbplyr" is required to communicate with database backends.
  Backtrace:
      ▆
   1. ├─dplyr::copy_to(pool, df, temporary = FALSE) at test-dbplyr.R:30:3
   2. └─pool:::copy_to.Pool(pool, df, temporary = FALSE)
   3.   └─(function() {...
   4.     ├─dplyr::copy_to(...)
   5.     └─dplyr:::copy_to.DBIConnection(...)
   6.       └─dplyr::check_dbplyr()
   7.         └─rlang::check_installed("dbplyr", "to communicate with database backends.")
  ── Error ('test-dbplyr.R:53:3'): joins, semi_joins, and set ops work ───────────
  <rlib_error_package_not_found/rlang_error/error/condition>
  Error in `check_dbplyr()`: The package "dbplyr" is required to communicate with database backends.
  Backtrace:
      ▆
   1. ├─dplyr::copy_to(pool, data.frame(x = 1), temporary = FALSE) at test-dbplyr.R:53:3
   2. └─pool:::copy_to.Pool(pool, data.frame(x = 1), temporary = FALSE)
   3.   └─(function() {...
   4.     ├─dplyr::copy_to(...)
   5.     └─dplyr:::copy_to.DBIConnection(...)
   6.       └─dplyr::check_dbplyr()
   7.         └─rlang::check_installed("dbplyr", "to communicate with database backends.")
  ── Error ('test-dbplyr.R:75:3'): can explain ───────────────────────────────────
  <rlib_error_package_not_found/rlang_error/error/condition>
  Error in `check_dbplyr()`: The package "dbplyr" is required to communicate with database backends.
  Backtrace:
      ▆
   1. ├─dplyr::copy_to(pool, data.frame(x = 1), temporary = FALSE) at test-dbplyr.R:75:3
   2. └─pool:::copy_to.Pool(pool, data.frame(x = 1), temporary = FALSE)
   3.   └─(function() {...
   4.     ├─dplyr::copy_to(...)
   5.     └─dplyr:::copy_to.DBIConnection(...)
   6.       └─dplyr::check_dbplyr()
   7.         └─rlang::check_installed("dbplyr", "to communicate with database backends.")
  ── Error ('test-dbplyr.R:101:3'): wrapper looks good ───────────────────────────
  Error in `loadNamespace(name)`: there is no package called 'dbplyr'
  Backtrace:
      ▆
   1. └─pool:::dbplyr_wrap("db_compute")
   2.   └─utils::getFromNamespace(fun_name, "dbplyr")
   3.     └─base::asNamespace(ns)
   4.       └─base::getNamespace(ns)
   5.         ├─.Internal(getRegisteredNamespace(name)) %||% ...
   6.         └─base::loadNamespace(name)
   7.           └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   8.             └─base (local) withOneRestart(expr, restarts[[1L]])
   9.               └─base (local) doWithOneRestart(return(expr), restart)
  
  [ FAIL 5 | WARN 0 | SKIP 21 | PASS 52 ]
  Error:
  ! Test failures.
  Execution halted