Running ‘testthat.R’ [22s/29s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > test_check("rim")
  Loading required package: rim
  Maxima successfully registered as knitr engine!
  log: encountered log(0).
  
  Quitting from /data/gannet/ripley/R/packages/tests-devel/rim.Rcheck/rim/extdata/test.Rmd:84-112 [draw]
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  <error/rlang_error>
  Error in `maxima.env$mx$get()`:
  ! gnuplot> set pm3d hidden3d 100 border lw 0.5 lt rgb "#000000"
                             ^
           line 3714: invalid pm3d option
  ---
  Backtrace:
       x
    1. +-base::suppressWarnings(...) at test-engine.R:11:3
    2. | \-base::withCallingHandlers(...)
    3. \-knitr::knit(input = fr[1], output = fo, quiet = TRUE)
    4.   \-knitr:::process_file(text, output)
    5.     +-xfun:::handle_error(...)
    6.     +-base::withCallingHandlers(...)
    7.     \-knitr:::process_group(group)
    8.       \-knitr:::call_block(x)
    9.         \-knitr:::block_exec(params)
   10.           +-knitr:::in_input_dir(engine(options))
   11.           | \-knitr:::in_dir(input_dir(), expr)
   12.           \-rim (local) engine(options)
   13.             \-maxima.env$mx$get(pc)
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  
  [ FAIL 1 | WARN 0 | SKIP 1 | PASS 69 ]
  
  ══ Skipped tests (1) ═══════════════════════════════════════════════════════════
  • No warnings to be tested under Maxima 5.47.0 (1): 'test-warnings.R:4:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-engine.R:11:3'): maxima knitr engine works ─────────────────────
  Error in `maxima.env$mx$get(pc)`: gnuplot> set pm3d hidden3d 100 border lw 0.5 lt rgb "#000000"
                             ^
           line 3714: invalid pm3d option
  Backtrace:
       ▆
    1. ├─base::suppressWarnings(...) at test-engine.R:11:3
    2. │ └─base::withCallingHandlers(...)
    3. └─knitr::knit(input = fr[1], output = fo, quiet = TRUE)
    4.   └─knitr:::process_file(text, output)
    5.     ├─xfun:::handle_error(...)
    6.     ├─base::withCallingHandlers(...)
    7.     └─knitr:::process_group(group)
    8.       └─knitr:::call_block(x)
    9.         └─knitr:::block_exec(params)
   10.           ├─knitr:::in_input_dir(engine(options))
   11.           │ └─knitr:::in_dir(input_dir(), expr)
   12.           └─rim (local) engine(options)
   13.             └─maxima.env$mx$get(pc)
  
  [ FAIL 1 | WARN 0 | SKIP 1 | PASS 69 ]
  Error: Test failures
  Execution halted