Running ‘spelling.R’ [0s/1s]
  Running ‘testthat.R’ [82s/122s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(evaluator)
  > 
  > # ensure phantom.js is available on CI platforms
  > if (Sys.getenv("NOT_CRAN", "") != "" || Sys.getenv("CI", "") != "") {
  +   if (!shinytest::dependenciesInstalled()) shinytest:::installDependencies()
  +   message("Using phantom.js from ", shinytest:::find_phantom(), "\n")
  + }
  > 
  > test_check("evaluator")
  # Scenario model: openfair_tef_tc_diff_lm
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • Not running MVA test - EVALUATOR_TEST_MVA not set (1)
  • On CRAN (1)
  • Shiny testing is awkward, consider moving to stand along pkg (1)
  • empty test (1)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-reports.R:50:3): Risk Dashboard renders ─────────────────────────
  Error in `parse(text = x, srcfile = src)`: attempt to use zero-length variable name
  Backtrace:
       █
    1. ├─testthat::evaluate_promise(...) test-reports.R:50:2
    2. │ ├─withr::with_output_sink(...)
    3. │ │ └─base::force(code)
    4. │ ├─base::withCallingHandlers(...)
    5. │ └─base::withVisible(code)
    6. └─evaluator::risk_dashboard(...)
    7.   └─rmarkdown::render(...)
    8.     └─knitr::knit(knit_input, knit_output, envir = envir, quiet = quiet)
    9.       └─knitr:::process_file(text, output)
   10.         ├─base::withCallingHandlers(...)
   11.         ├─knitr:::process_group(group)
   12.         └─knitr:::process_group.block(group)
   13.           └─knitr:::call_block(x)
   14.             └─knitr:::block_exec(params)
   15.               └─knitr:::eng_r(options)
   16.                 ├─knitr:::in_dir(...)
   17.                 └─knitr:::evaluate(...)
   18.                   └─evaluate::evaluate(...)
   19.                     ├─evaluate::parse_all(input, filename, stop_on_error != 2L)
   20.                     └─evaluate:::parse_all.character(...)
   21.                       └─base::parse(text = x, srcfile = src)
  
  [ FAIL 1 | WARN 0 | SKIP 4 | PASS 137 ]
  Error: Test failures
  Execution halted