Running ‘testthat.R’ [39s/59s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(ContourFunctions)
  > 
  > test_check("ContourFunctions")
  ── 1. Failure: cf_4dim (@test-nongg.R#72)  ─────────────────────────────────────
  `cf_4dim(...)` threw an error.
  Message: 'where' must be an environment
  Class:   simpleError/error/condition
  Backtrace:
    1. testthat::expect_error(...)
    6. ContourFunctions::cf_4dim(...)
   11. base::bquote(...)
  
  ── 2. Failure: cf_4dim (@test-nongg.R#75)  ─────────────────────────────────────
  `cf_4dim(...)` threw an error.
  Message: figure margins too large
  Class:   simpleError/error/condition
  Backtrace:
   1. testthat::expect_error(...)
   6. ContourFunctions::cf_4dim(...)
   7. graphics::plot.new()
  
  ── 3. Failure: cf_4dim (@test-nongg.R#79)  ─────────────────────────────────────
  `cf_4dim(...)` threw an error.
  Message: figure margins too large
  Class:   simpleError/error/condition
  Backtrace:
   1. testthat::expect_error(...)
   6. ContourFunctions::cf_4dim(...)
   7. ContourFunctions::cf_func(...)
   8. ContourFunctions::cf_grid(x, y, z, pts = pts, ...)
   9. graphics::plot.new()
  
  ── 4. Failure: cf_4dim (@test-nongg.R#81)  ─────────────────────────────────────
  `cf_4dim(...)` threw an error.
  Message: figure margins too large
  Class:   simpleError/error/condition
  Backtrace:
   1. testthat::expect_error(...)
   6. ContourFunctions::cf_4dim(...)
   7. graphics::plot.new()
  
  ── 5. Failure: cf_4dim (@test-nongg.R#85)  ─────────────────────────────────────
  `cf_4dim(...)` threw an error.
  Message: figure margins too large
  Class:   simpleError/error/condition
  Backtrace:
   1. testthat::expect_error(...)
   6. ContourFunctions::cf_4dim(...)
   7. graphics::plot.new()
  
  ── 6. Failure: cf highdim (@test-nongg.R#94)  ──────────────────────────────────
  `cf_highdim(...)` threw an error.
  Message: figure margins too large
  Class:   simpleError/error/condition
  Backtrace:
   1. testthat::expect_error(...)
   6. ContourFunctions::cf_highdim(...)
   7. graphics::plot.new()
  
  ── 7. Failure: cf highdim (@test-nongg.R#99)  ──────────────────────────────────
  `cf_highdim(friedman, 5, color.palette = topo.colors)` threw an error.
  Message: figure margins too large
  Class:   simpleError/error/condition
  Backtrace:
   1. testthat::expect_error(...)
   6. ContourFunctions::cf_highdim(friedman, 5, color.palette = topo.colors)
   7. graphics::plot.new()
  
  ── 8. Failure: cf highdim (@test-nongg.R#100)  ─────────────────────────────────
  `cf_highdim(...)` threw an error.
  Message: figure margins too large
  Class:   simpleError/error/condition
  Backtrace:
   1. testthat::expect_error(...)
   6. ContourFunctions::cf_highdim(...)
   7. graphics::plot.new()
  
  ── 9. Failure: cf highdim (@test-nongg.R#105)  ─────────────────────────────────
  `{ ... }` threw an error.
  Message: figure margins too large
  Class:   simpleError/error/condition
  Backtrace:
   1. testthat::expect_error(...)
   6. ContourFunctions::cf_highdim(...)
   7. graphics::plot.new()
  
  ── 10. Failure: cf highdim (@test-nongg.R#119)  ────────────────────────────────
  `cf_highdim(...)` threw an error.
  Message: figure margins too large
  Class:   simpleError/error/condition
  Backtrace:
   1. testthat::expect_error(...)
   6. ContourFunctions::cf_highdim(...)
   7. graphics::plot.new()
  
  ── 11. Failure: cf highdim (@test-nongg.R#121)  ────────────────────────────────
  `cf_highdim(...)` threw an error.
  Message: figure margins too large
  Class:   simpleError/error/condition
  Backtrace:
   1. testthat::expect_error(...)
   6. ContourFunctions::cf_highdim(...)
   7. graphics::plot.new()
  
  ── 12. Failure: cf highdim (@test-nongg.R#124)  ────────────────────────────────
  `cf_highdim(...)` threw an error.
  Message: figure margins too large
  Class:   simpleError/error/condition
  Backtrace:
   1. testthat::expect_error(...)
   6. ContourFunctions::cf_highdim(...)
   7. ContourFunctions::cf_func(...)
   8. ContourFunctions::cf_grid(x, y, z, pts = pts, ...)
   9. graphics::plot.new()
  
  ── 13. Failure: cf highdim (@test-nongg.R#127)  ────────────────────────────────
  `cf(...)` threw an error.
  Message: figure margins too large
  Class:   simpleError/error/condition
  Backtrace:
   1. testthat::expect_error(...)
   6. ContourFunctions::cf(...)
   7. ContourFunctions::cf_highdim(...)
   8. graphics::plot.new()
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  [ OK: 46 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 13 ]
  1. Failure: cf_4dim (@test-nongg.R#72) 
  2. Failure: cf_4dim (@test-nongg.R#75) 
  3. Failure: cf_4dim (@test-nongg.R#79) 
  4. Failure: cf_4dim (@test-nongg.R#81) 
  5. Failure: cf_4dim (@test-nongg.R#85) 
  6. Failure: cf highdim (@test-nongg.R#94) 
  7. Failure: cf highdim (@test-nongg.R#99) 
  8. Failure: cf highdim (@test-nongg.R#100) 
  9. Failure: cf highdim (@test-nongg.R#105) 
  1. ...
  
  Error: testthat unit tests failed
  Execution halted