Running ‘testthat.R’
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!
  Quitting from lines 10-13 (/data/gannet/ripley/R/packages/tests-devel/rim.Rcheck/rim/extdata/test.Rmd) 
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • No warnings to be tested under Maxima 5.43.0 
   (1)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-engine.R:11:3): maxima knitr engine works ───────────────────────
  Error: Unsupported: 
  incorrect syntax: Premature termination of input at ;.
  ;
   ^
  prompt;>>(%i4) <<prompt;
  Backtrace:
       █
    1. └─knitr::knit(input = fr[1], output = fo, quiet = TRUE, envir = .GlobalEnv) test-engine.R:11:2
    2.   └─knitr:::process_file(text, output)
    3.     ├─base::withCallingHandlers(...)
    4.     ├─knitr:::process_group(group)
    5.     └─knitr:::process_group.block(group)
    6.       └─knitr:::call_block(x)
    7.         └─knitr:::block_exec(params)
    8.           ├─knitr:::in_dir(input_dir(), engine(options))
    9.           └─rim:::engine(options)
   10.             └─maxima.env$mx$get(code[i])
  ── Error (test-execute.R:5:3): execution returns formatted strings ─────────────
  Error: Unsupported: 
  incorrect syntax: Premature termination of input at ;.
  ;
   ^
  prompt;>>(%i8) <<prompt;
  Backtrace:
      █
   1. ├─testthat::expect_match(maxima.get("2+2;"), "^4$") test-execute.R:5:2
   2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─rim::maxima.get("2+2;")
   5.   └─maxima.env$maxima$get(command)
  ── Error (test-setformat.R:8:3): changing the output format works ──────────────
  Error: Unsupported: 
  incorrect syntax: Premature termination of input at ;.
  ;
   ^
  prompt;>>(%i11) <<prompt;
  Backtrace:
      █
   1. ├─testthat::expect_match(maxima.get("2+2;"), "4") test-setformat.R:8:2
   2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─rim::maxima.get("2+2;")
   5.   └─maxima.env$maxima$get(command)
  
  [ FAIL 3 | WARN 0 | SKIP 1 | PASS 6 ]
  Error: Test failures
  Execution halted