Running ‘testthat.R’ [2s/3s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(lgrExtra)
  > 
  > test_check("lgrExtra")
  Failed with error:  'there is no package called 'RSQLite''
  [ FAIL 2 | WARN 0 | SKIP 2 | PASS 29 ]
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • '/var/log/syslog' is not readable (1)
  • Required packages not installed (1)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test_AppenderDbi.R:21: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. ├─DBI::dbConnect(RSQLite::SQLite(), database = tsqlite) at test_AppenderDbi.R:21:0
   2. ├─base::loadNamespace(x)
   3. │ ├─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   4. │ │ └─base withOneRestart(expr, restarts[[1L]])
   5. │ │   └─base doWithOneRestart(return(expr), restart)
   6. │ └─base::stop(cond)
   7. └─base `<fn>`(`<pckgNtFE>`)
  ── Error (test_SerializerJson.R:19:3): unpack_json_cols works ──────────────────
  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. ├─DBI::dbConnect(RSQLite::SQLite(), ":memory:") at test_SerializerJson.R:19:2
   2. ├─base::loadNamespace(x)
   3. │ ├─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   4. │ │ └─base withOneRestart(expr, restarts[[1L]])
   5. │ │   └─base doWithOneRestart(return(expr), restart)
   6. │ └─base::stop(cond)
   7. └─base `<fn>`(`<pckgNtFE>`)
  
  [ FAIL 2 | WARN 0 | SKIP 2 | PASS 29 ]
  Error: Test failures
  Execution halted