Running ‘testthat.R’ [16s/23s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(comparer)
  > 
  > test_check("comparer")
  Recovered 6 / 6
  Recovered 6 / 12
  Error in summary.connection(connection) : invalid connection
  In addition: Warning message:
  In .Internal(gc(verbose, reset, full)) :
    closing unused connection 4 (<-localhost:11051)
  Recovered 1 / 4
  Completed all runs in 0.2 seconds 
  Starting to run 10 trials in batches of size 3 
  Finished running superbatches 
  [ FAIL 3 | WARN 0 | SKIP 0 | PASS 416 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test_hype.R:137:3'): 2 inputs ─────────────────────────────────────
  `plotint <- h2$plotinteractions()` threw an error.
  Message: there is no package called 'ContourFunctions'
  Class:   packageNotFoundError/error/condition
  Backtrace:
       ▆
    1. ├─testthat::expect_error(plotint <- h2$plotinteractions(), NA) at test_hype.R:137:3
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat (local) .capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. ├─h2$plotinteractions()
    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)
  ── Error ('test_hype.R:138:3'): 2 inputs ───────────────────────────────────────
  Error in `eval(code, test_env)`: object 'plotint' not found
  Backtrace:
      ▆
   1. └─testthat::expect_is(plotint, "ggplot") at test_hype.R:138:3
   2.   └─testthat::quasi_label(enquo(object), label, arg = "object")
   3.     └─rlang::eval_bare(expr, quo_get_env(quo))
  ── Failure ('test_hype.R:177:3'): 4 inputs ─────────────────────────────────────
  `h2$plotinteractions()` threw an error.
  Message: there is no package called 'ContourFunctions'
  Class:   packageNotFoundError/error/condition
  Backtrace:
       ▆
    1. ├─testthat::expect_error(h2$plotinteractions(), NA) at test_hype.R:177:3
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat (local) .capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. ├─h2$plotinteractions()
    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)
  
  [ FAIL 3 | WARN 0 | SKIP 0 | PASS 416 ]
  Error: Test failures
  Execution halted