Running ‘testthat.R’ [1s/2s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(gemma2)
  > 
  > test_check("gemma2")
  [ FAIL 5 | WARN 0 | SKIP 0 | PASS 15 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test_MphEM.R:2:1): (code run outside of `test_that()`) ───────────────
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'readr'
  Backtrace:
      ▆
   1. └─base::loadNamespace(x) at test_MphEM.R:2:0
   2.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   3.     └─base withOneRestart(expr, restarts[[1L]])
   4.       └─base doWithOneRestart(return(expr), restart)
  ── Error (test_calc_XHiY.R:4:1): (code run outside of `test_that()`) ───────────
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'readr'
  Backtrace:
      ▆
   1. └─base::loadNamespace(x) at test_calc_XHiY.R:4:0
   2.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   3.     └─base withOneRestart(expr, restarts[[1L]])
   4.       └─base doWithOneRestart(return(expr), restart)
  ── Error (test_calc_qi.R:4:1): (code run outside of `test_that()`) ─────────────
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'readr'
  Backtrace:
      ▆
   1. ├─base::as.matrix(...) at test_calc_qi.R:4: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)
  ── Error (test_calc_sigma.R:4:1): (code run outside of `test_that()`) ──────────
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'readr'
  Backtrace:
      ▆
   1. └─base::loadNamespace(x) at test_calc_sigma.R:4:0
   2.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   3.     └─base withOneRestart(expr, restarts[[1L]])
   4.       └─base doWithOneRestart(return(expr), restart)
  ── Error (test_updateU.R:4:1): (code run outside of `test_that()`) ─────────────
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'readr'
  Backtrace:
      ▆
   1. └─base::loadNamespace(x) at test_updateU.R:4:0
   2.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   3.     └─base withOneRestart(expr, restarts[[1L]])
   4.       └─base doWithOneRestart(return(expr), restart)
  
  [ FAIL 5 | WARN 0 | SKIP 0 | PASS 15 ]
  Error: Test failures
  Execution halted