Running ‘testthat.R’ [3s/4s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(dcmodifydb)
  > 
  > test_check("dcmodifydb")
  [ FAIL 12 | WARN 0 | SKIP 0 | PASS 12 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-is_working.R:7:5): is working: is working ───────────────────────
  Error in `(function (cond) 
  .Internal(C_tryCatchHelper(addr, 1L, cond)))(structure(list(message = "there is no package called 'RSQLite'", 
      call = loadNamespace(x), package = "RSQLite", lib.loc = NULL), class = c("packageNotFoundError", 
  "error", "condition")))`: error in evaluating the argument 'drv' in selecting a method for function 'dbConnect': there is no package called 'RSQLite'
  Backtrace:
       ▆
    1. ├─dbplyr::tbl_memdb(data.frame(x = 1:2), "w") at test-is_working.R:7:4
    2. │ ├─dplyr::copy_to(src_memdb(), df, name = name)
    3. │ └─dbplyr::src_memdb()
    4. │   ├─dbplyr:::cache_computation(...)
    5. │   │ └─base::force(computation)
    6. │   ├─dbplyr::src_dbi(...)
    7. │   │ └─base::force(con)
    8. │   └─DBI::dbConnect(RSQLite::SQLite(), ":memory:", create = TRUE)
    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)
   13. │ └─base::stop(cond)
   14. └─base `<fn>`(`<pckgNtFE>`)
  ── Error (test-is_working.R:17:5): is working: is working check ────────────────
  Error in `(function (cond) 
  .Internal(C_tryCatchHelper(addr, 1L, cond)))(structure(list(message = "there is no package called 'RSQLite'", 
      call = loadNamespace(x), package = "RSQLite", lib.loc = NULL), class = c("packageNotFoundError", 
  "error", "condition")))`: error in evaluating the argument 'drv' in selecting a method for function 'dbConnect': there is no package called 'RSQLite'
  Backtrace:
       ▆
    1. ├─dbplyr::tbl_memdb(data.frame(x = 1:2), "w2") at test-is_working.R:17:4
    2. │ ├─dplyr::copy_to(src_memdb(), df, name = name)
    3. │ └─dbplyr::src_memdb()
    4. │   ├─dbplyr:::cache_computation(...)
    5. │   │ └─base::force(computation)
    6. │   ├─dbplyr::src_dbi(...)
    7. │   │ └─base::force(con)
    8. │   └─DBI::dbConnect(RSQLite::SQLite(), ":memory:", create = TRUE)
    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)
   13. │ └─base::stop(cond)
   14. └─base `<fn>`(`<pckgNtFE>`)
  ── Error (test-modify.R:6:5): modify: modifies a simple dataset ────────────────
  Error in `(function (cond) 
  .Internal(C_tryCatchHelper(addr, 1L, cond)))(structure(list(message = "there is no package called 'RSQLite'", 
      call = loadNamespace(x), package = "RSQLite", lib.loc = NULL), class = c("packageNotFoundError", 
  "error", "condition")))`: error in evaluating the argument 'drv' in selecting a method for function 'dbConnect': there is no package called 'RSQLite'
  Backtrace:
       ▆
    1. ├─dbplyr::tbl_memdb(data.frame(x = 1:2), "d") at test-modify.R:6:4
    2. │ ├─dplyr::copy_to(src_memdb(), df, name = name)
    3. │ └─dbplyr::src_memdb()
    4. │   ├─dbplyr:::cache_computation(...)
    5. │   │ └─base::force(computation)
    6. │   ├─dbplyr::src_dbi(...)
    7. │   │ └─base::force(con)
    8. │   └─DBI::dbConnect(RSQLite::SQLite(), ":memory:", create = TRUE)
    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)
   13. │ └─base::stop(cond)
   14. └─base `<fn>`(`<pckgNtFE>`)
  ── Error (test-modify.R:17:5): modify: modifies a copy of a simple dataset ─────
  Error in `(function (cond) 
  .Internal(C_tryCatchHelper(addr, 1L, cond)))(structure(list(message = "there is no package called 'RSQLite'", 
      call = loadNamespace(x), package = "RSQLite", lib.loc = NULL), class = c("packageNotFoundError", 
  "error", "condition")))`: error in evaluating the argument 'drv' in selecting a method for function 'dbConnect': there is no package called 'RSQLite'
  Backtrace:
       ▆
    1. ├─dbplyr::tbl_memdb(data.frame(x = 1:2), "d2") at test-modify.R:17:4
    2. │ ├─dplyr::copy_to(src_memdb(), df, name = name)
    3. │ └─dbplyr::src_memdb()
    4. │   ├─dbplyr:::cache_computation(...)
    5. │   │ └─base::force(computation)
    6. │   ├─dbplyr::src_dbi(...)
    7. │   │ └─base::force(con)
    8. │   └─DBI::dbConnect(RSQLite::SQLite(), ":memory:", create = TRUE)
    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)
   13. │ └─base::stop(cond)
   14. └─base `<fn>`(`<pckgNtFE>`)
  ── Error (test-modify.R:28:5): modify: modifies a copy of a simple dataset (unspecified ──
  Error in `(function (cond) 
  .Internal(C_tryCatchHelper(addr, 1L, cond)))(structure(list(message = "there is no package called 'RSQLite'", 
      call = loadNamespace(x), package = "RSQLite", lib.loc = NULL), class = c("packageNotFoundError", 
  "error", "condition")))`: error in evaluating the argument 'drv' in selecting a method for function 'dbConnect': there is no package called 'RSQLite'
  Backtrace:
       ▆
    1. ├─dbplyr::tbl_memdb(data.frame(x = 1:2), "d3") at test-modify.R:28:4
    2. │ ├─dplyr::copy_to(src_memdb(), df, name = name)
    3. │ └─dbplyr::src_memdb()
    4. │   ├─dbplyr:::cache_computation(...)
    5. │   │ └─base::force(computation)
    6. │   ├─dbplyr::src_dbi(...)
    7. │   │ └─base::force(con)
    8. │   └─DBI::dbConnect(RSQLite::SQLite(), ":memory:", create = TRUE)
    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)
   13. │ └─base::stop(cond)
   14. └─base `<fn>`(`<pckgNtFE>`)
  ── Error (test-modify.R:41:5): modify: rollback when an modifier is not working ──
  Error in `(function (cond) 
  .Internal(C_tryCatchHelper(addr, 1L, cond)))(structure(list(message = "there is no package called 'RSQLite'", 
      call = loadNamespace(x), package = "RSQLite", lib.loc = NULL), class = c("packageNotFoundError", 
  "error", "condition")))`: error in evaluating the argument 'drv' in selecting a method for function 'dbConnect': there is no package called 'RSQLite'
  Backtrace:
       ▆
    1. ├─dbplyr::tbl_memdb(data.frame(x = 1:2), "d4") at test-modify.R:41:4
    2. │ ├─dplyr::copy_to(src_memdb(), df, name = name)
    3. │ └─dbplyr::src_memdb()
    4. │   ├─dbplyr:::cache_computation(...)
    5. │   │ └─base::force(computation)
    6. │   ├─dbplyr::src_dbi(...)
    7. │   │ └─base::force(con)
    8. │   └─DBI::dbConnect(RSQLite::SQLite(), ":memory:", create = TRUE)
    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)
   13. │ └─base::stop(cond)
   14. └─base `<fn>`(`<pckgNtFE>`)
  ── Error (test-modify.R:55:5): modify: adds a new column ───────────────────────
  Error in `(function (cond) 
  .Internal(C_tryCatchHelper(addr, 1L, cond)))(structure(list(message = "there is no package called 'RSQLite'", 
      call = loadNamespace(x), package = "RSQLite", lib.loc = NULL), class = c("packageNotFoundError", 
  "error", "condition")))`: error in evaluating the argument 'drv' in selecting a method for function 'dbConnect': there is no package called 'RSQLite'
  Backtrace:
       ▆
    1. ├─dbplyr::tbl_memdb(data.frame(x = 1:2), "d5") at test-modify.R:55:4
    2. │ ├─dplyr::copy_to(src_memdb(), df, name = name)
    3. │ └─dbplyr::src_memdb()
    4. │   ├─dbplyr:::cache_computation(...)
    5. │   │ └─base::force(computation)
    6. │   ├─dbplyr::src_dbi(...)
    7. │   │ └─base::force(con)
    8. │   └─DBI::dbConnect(RSQLite::SQLite(), ":memory:", create = TRUE)
    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)
   13. │ └─base::stop(cond)
   14. └─base `<fn>`(`<pckgNtFE>`)
  ── Error (test-modify.R:68:5): modify: handles selection assign ────────────────
  Error in `(function (cond) 
  .Internal(C_tryCatchHelper(addr, 1L, cond)))(structure(list(message = "there is no package called 'RSQLite'", 
      call = loadNamespace(x), package = "RSQLite", lib.loc = NULL), class = c("packageNotFoundError", 
  "error", "condition")))`: error in evaluating the argument 'drv' in selecting a method for function 'dbConnect': there is no package called 'RSQLite'
  Backtrace:
       ▆
    1. ├─dbplyr::tbl_memdb(data.frame(x = 1:2), "d6") at test-modify.R:68:4
    2. │ ├─dplyr::copy_to(src_memdb(), df, name = name)
    3. │ └─dbplyr::src_memdb()
    4. │   ├─dbplyr:::cache_computation(...)
    5. │   │ └─base::force(computation)
    6. │   ├─dbplyr::src_dbi(...)
    7. │   │ └─base::force(con)
    8. │   └─DBI::dbConnect(RSQLite::SQLite(), ":memory:", create = TRUE)
    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)
   13. │ └─base::stop(cond)
   14. └─base `<fn>`(`<pckgNtFE>`)
  ── Error (test-modify.R:75:5): modify: handles NA assign ───────────────────────
  Error in `(function (cond) 
  .Internal(C_tryCatchHelper(addr, 1L, cond)))(structure(list(message = "there is no package called 'RSQLite'", 
      call = loadNamespace(x), package = "RSQLite", lib.loc = NULL), class = c("packageNotFoundError", 
  "error", "condition")))`: error in evaluating the argument 'drv' in selecting a method for function 'dbConnect': there is no package called 'RSQLite'
  Backtrace:
       ▆
    1. ├─dbplyr::tbl_memdb(data.frame(x = 1:2), "d7") at test-modify.R:75:4
    2. │ ├─dplyr::copy_to(src_memdb(), df, name = name)
    3. │ └─dbplyr::src_memdb()
    4. │   ├─dbplyr:::cache_computation(...)
    5. │   │ └─base::force(computation)
    6. │   ├─dbplyr::src_dbi(...)
    7. │   │ └─base::force(con)
    8. │   └─DBI::dbConnect(RSQLite::SQLite(), ":memory:", create = TRUE)
    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)
   13. │ └─base::stop(cond)
   14. └─base `<fn>`(`<pckgNtFE>`)
  ── Error (test-modify.R:82:5): modify: handles NA check ────────────────────────
  Error in `(function (cond) 
  .Internal(C_tryCatchHelper(addr, 1L, cond)))(structure(list(message = "there is no package called 'RSQLite'", 
      call = loadNamespace(x), package = "RSQLite", lib.loc = NULL), class = c("packageNotFoundError", 
  "error", "condition")))`: error in evaluating the argument 'drv' in selecting a method for function 'dbConnect': there is no package called 'RSQLite'
  Backtrace:
       ▆
    1. ├─dbplyr::tbl_memdb(data.frame(x = c(1, NA)), "d8") at test-modify.R:82:4
    2. │ ├─dplyr::copy_to(src_memdb(), df, name = name)
    3. │ └─dbplyr::src_memdb()
    4. │   ├─dbplyr:::cache_computation(...)
    5. │   │ └─base::force(computation)
    6. │   ├─dbplyr::src_dbi(...)
    7. │   │ └─base::force(con)
    8. │   └─DBI::dbConnect(RSQLite::SQLite(), ":memory:", create = TRUE)
    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)
   13. │ └─base::stop(cond)
   14. └─base `<fn>`(`<pckgNtFE>`)
  ── Error (test-sql.R:4:1): (code run outside of `test_that()`) ─────────────────
  Error in `(function (cond) 
  .Internal(C_tryCatchHelper(addr, 1L, cond)))(structure(list(message = "there is no package called 'RSQLite'", 
      call = loadNamespace(x), package = "RSQLite", lib.loc = NULL), class = c("packageNotFoundError", 
  "error", "condition")))`: error in evaluating the argument 'drv' in selecting a method for function 'dbConnect': there is no package called 'RSQLite'
  Backtrace:
       ▆
    1. ├─testthat::describe(...) at test-sql.R:4:0
    2. │ └─base::eval(substitute(code), describe_environment)
    3. │   └─base::eval(substitute(code), describe_environment)
    4. │     └─dbplyr::tbl_memdb(...) at test-sql.R:5:2
    5. │       ├─dplyr::copy_to(src_memdb(), df, name = name)
    6. │       └─dbplyr::src_memdb()
    7. │         ├─dbplyr:::cache_computation(...)
    8. │         │ └─base::force(computation)
    9. │         ├─dbplyr::src_dbi(...)
   10. │         │ └─base::force(con)
   11. │         └─DBI::dbConnect(RSQLite::SQLite(), ":memory:", create = TRUE)
   12. ├─base::loadNamespace(x)
   13. │ ├─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   14. │ │ └─base withOneRestart(expr, restarts[[1L]])
   15. │ │   └─base doWithOneRestart(return(expr), restart)
   16. │ └─base::stop(cond)
   17. └─base `<fn>`(`<pckgNtFE>`)
  ── Error (test-update.R:4:1): (code run outside of `test_that()`) ──────────────
  Error in `(function (cond) 
  .Internal(C_tryCatchHelper(addr, 1L, cond)))(structure(list(message = "there is no package called 'RSQLite'", 
      call = loadNamespace(x), package = "RSQLite", lib.loc = NULL), class = c("packageNotFoundError", 
  "error", "condition")))`: error in evaluating the argument 'drv' in selecting a method for function 'dbConnect': there is no package called 'RSQLite'
  Backtrace:
       ▆
    1. ├─testthat::describe(...) at test-update.R:4:0
    2. │ └─base::eval(substitute(code), describe_environment)
    3. │   └─base::eval(substitute(code), describe_environment)
    4. │     └─dbplyr::tbl_memdb(mtcars) at test-update.R:12:2
    5. │       ├─dplyr::copy_to(src_memdb(), df, name = name)
    6. │       └─dbplyr::src_memdb()
    7. │         ├─dbplyr:::cache_computation(...)
    8. │         │ └─base::force(computation)
    9. │         ├─dbplyr::src_dbi(...)
   10. │         │ └─base::force(con)
   11. │         └─DBI::dbConnect(RSQLite::SQLite(), ":memory:", create = TRUE)
   12. ├─base::loadNamespace(x)
   13. │ ├─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   14. │ │ └─base withOneRestart(expr, restarts[[1L]])
   15. │ │   └─base doWithOneRestart(return(expr), restart)
   16. │ └─base::stop(cond)
   17. └─base `<fn>`(`<pckgNtFE>`)
  
  [ FAIL 12 | WARN 0 | SKIP 0 | PASS 12 ]
  Error: Test failures
  Execution halted