Running ‘testthat.R’ [92s/108s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(GauPro)
  > 
  > test_check("GauPro")
  [ FAIL 10 | WARN 0 | SKIP 0 | PASS 3077 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test_kernel_model_and_kernels.R:419:7'): Cts kernels 2D ───────────
  `gp$plot2D()` threw an error.
  Message: there is no package called 'ContourFunctions'
  Class:   packageNotFoundError/error/condition
  Backtrace:
       ▆
    1. ├─testthat::expect_error(gp$plot2D(), NA) at test_kernel_model_and_kernels.R:419:7
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat (local) .capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. ├─gp$plot2D()
    7. └─base::loadNamespace(x)
    8.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
    9.     └─base (local) withOneRestart(expr, restarts[[1L]])
   10.       └─base (local) doWithOneRestart(return(expr), restart)
  ── Failure ('test_kernel_model_and_kernels.R:420:24'): Cts kernels 2D ──────────
  Expected `{ ... }` to run without any errors.
  ℹ Actually got a <packageNotFoundError> with text:
    there is no package called 'ContourFunctions'
  ── Failure ('test_kernel_model_and_kernels.R:421:7'): Cts kernels 2D ───────────
  Expected `gp$plot2D(se = T, n = 5, horizontal = F)` to run without any errors.
  ℹ Actually got a <packageNotFoundError> with text:
    there is no package called 'ContourFunctions'
  ── Failure ('test_kernel_model_and_kernels.R:422:7'): Cts kernels 2D ───────────
  Expected `gp$plot2D(se = T, n = 5, mean = F)` to run without any errors.
  ℹ Actually got a <packageNotFoundError> with text:
    there is no package called 'ContourFunctions'
  ── Failure ('test_kernel_model_and_kernels.R:426:7'): Cts kernels 2D ───────────
  `plot(gp)` threw an error.
  Message: there is no package called 'ContourFunctions'
  Class:   packageNotFoundError/error/condition
  Backtrace:
       ▆
    1. ├─testthat::expect_error(plot(gp), NA) at test_kernel_model_and_kernels.R:426:7
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat (local) .capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. ├─base::plot(gp)
    7. ├─R6:::plot.R6(gp)
    8. │ └─x$plot(...)
    9. │   └─self$plot2D(...)
   10. └─base::loadNamespace(x)
   11.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   12.     └─base (local) withOneRestart(expr, restarts[[1L]])
   13.       └─base (local) doWithOneRestart(return(expr), restart)
  ── Failure ('test_kernel_model_and_kernels.R:419:7'): Cts kernels 2D ───────────
  `gp$plot2D()` threw an error.
  Message: there is no package called 'ContourFunctions'
  Class:   packageNotFoundError/error/condition
  Backtrace:
       ▆
    1. ├─testthat::expect_error(gp$plot2D(), NA) at test_kernel_model_and_kernels.R:419:7
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat (local) .capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. ├─gp$plot2D()
    7. └─base::loadNamespace(x)
    8.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
    9.     └─base (local) withOneRestart(expr, restarts[[1L]])
   10.       └─base (local) doWithOneRestart(return(expr), restart)
  ── Failure ('test_kernel_model_and_kernels.R:420:24'): Cts kernels 2D ──────────
  Expected `{ ... }` to run without any errors.
  ℹ Actually got a <packageNotFoundError> with text:
    there is no package called 'ContourFunctions'
  ── Failure ('test_kernel_model_and_kernels.R:421:7'): Cts kernels 2D ───────────
  Expected `gp$plot2D(se = T, n = 5, horizontal = F)` to run without any errors.
  ℹ Actually got a <packageNotFoundError> with text:
    there is no package called 'ContourFunctions'
  ── Failure ('test_kernel_model_and_kernels.R:422:7'): Cts kernels 2D ───────────
  Expected `gp$plot2D(se = T, n = 5, mean = F)` to run without any errors.
  ℹ Actually got a <packageNotFoundError> with text:
    there is no package called 'ContourFunctions'
  ── Failure ('test_kernel_model_and_kernels.R:426:7'): Cts kernels 2D ───────────
  `plot(gp)` threw an error.
  Message: there is no package called 'ContourFunctions'
  Class:   packageNotFoundError/error/condition
  Backtrace:
       ▆
    1. ├─testthat::expect_error(plot(gp), NA) at test_kernel_model_and_kernels.R:426:7
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat (local) .capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. ├─base::plot(gp)
    7. ├─R6:::plot.R6(gp)
    8. │ └─x$plot(...)
    9. │   └─self$plot2D(...)
   10. └─base::loadNamespace(x)
   11.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   12.     └─base (local) withOneRestart(expr, restarts[[1L]])
   13.       └─base (local) doWithOneRestart(return(expr), restart)
  
  [ FAIL 10 | WARN 0 | SKIP 0 | PASS 3077 ]
  Error: Test failures
  Execution halted