Running ‘testthat.R’ [91s/298s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(ContourFunctions)
  > 
  > test_check("ContourFunctions")
  [ FAIL 3 | WARN 1 | SKIP 0 | PASS 51 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-gcf_grid.R:51:3'): gcf_data ────────────────────────────────────
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'laGP'
  Backtrace:
      ▆
   1. ├─ContourFunctions::gcf_data(x, y, z) at test-gcf_grid.R:51:3
   2. │ └─ContourFunctions::cf_data(...)
   3. └─base::loadNamespace(x)
   4.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   5.     └─base (local) withOneRestart(expr, restarts[[1L]])
   6.       └─base (local) doWithOneRestart(return(expr), restart)
  ── Error ('test-gcf_grid.R:68:3'): gcf ─────────────────────────────────────────
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'laGP'
  Backtrace:
      ▆
   1. ├─ContourFunctions::gcf_data(x, y, z) at test-gcf_grid.R:68:3
   2. │ └─ContourFunctions::cf_data(...)
   3. └─base::loadNamespace(x)
   4.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   5.     └─base (local) withOneRestart(expr, restarts[[1L]])
   6.       └─base (local) doWithOneRestart(return(expr), restart)
  ── Error ('test-nongg.R:33:3'): cf_data ────────────────────────────────────────
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'laGP'
  Backtrace:
      ▆
   1. ├─ContourFunctions::cf_data(x, y, z) at test-nongg.R:33:3
   2. └─base::loadNamespace(x)
   3.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   4.     └─base (local) withOneRestart(expr, restarts[[1L]])
   5.       └─base (local) doWithOneRestart(return(expr), restart)
  
  [ FAIL 3 | WARN 1 | SKIP 0 | PASS 51 ]
  Error: Test failures
  Execution halted