Running 'spelling.R' [0s]
  Running 'testthat.R' [45s]
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:19:1): (code run outside of `test_that()`) ------------
  Error: Cannot open file for writing:
  * 'D:\temp\Rtmp4oDrDe\inputs\qualitative_scenarios.csv'
  Backtrace:
      x
   1. \-readr::write_csv(...) test-reports.R:19:0
   2.   \-readr::write_delim(...)
   3.     \-vroom::vroom_write(...)
   4.       \-vroom:::vroom_write_(...)
  
  [ FAIL 1 | WARN 1 | SKIP 4 | PASS 136 ]
  Error: Test failures
  Execution halted
Running 'spelling.R' [0s]
  Running 'testthat.R' [34s]
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:19:1): (code run outside of `test_that()`) ------------
  Error: Cannot open file for writing:
  * 'D:\temp\Rtmpy82CzE\inputs\qualitative_scenarios.csv'
  Backtrace:
      x
   1. \-readr::write_csv(...) test-reports.R:19:0
   2.   \-readr::write_delim(...)
   3.     \-vroom::vroom_write(...)
   4.       \-vroom:::vroom_write_(...)
  
  [ FAIL 1 | WARN 1 | SKIP 4 | PASS 136 ]
  Error: Test failures
  Execution halted