Running ‘test-all.R’ [67s/155s]
Running the tests in ‘tests/test-all.R’ failed.
Complete output:
  > library(testthat)
  > test_check("SpaDES.core")
  Loading required package: SpaDES.core
  Loading required package: quickPlot
  Loading required package: reproducible
  
  Attaching package: 'SpaDES.core'
  
  The following objects are masked from 'package:stats':
  
      end, start
  
  The following object is masked from 'package:utils':
  
      citation
  
  2022-08-07 20:52:31 ERROR::e: bad version value
   2022-08-07 20:52:31 ERROR::e: qs::qsave(gg, file = file.path(path, paste0(filename, "_gg.qs")))
  [ FAIL 1 | WARN 12 | SKIP 37 | PASS 393 ]
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • GLPK not available on Linux (1)
  • On CRAN (12)
  • RandomFields cannot be loaded (16)
  • This memoryUse is still very experimental (1)
  • benchmarking DES (1)
  • empty test (4)
  • restartR not possible in automated tests (1)
  • restartR with logging not possible in automated tests (1)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-Plots.R:75:7): Plots function 1 ─────────────────────────────────
  Error in `qs::qsave(gg, file = file.path(path, paste0(filename, "_gg.qs")))`: bad version value
  Backtrace:
       ▆
    1. ├─testthat::capture_messages(simOut <- spades(sim, debug = TRUE)) at test-Plots.R:75:6
    2. │ └─base::withCallingHandlers(...)
    3. ├─SpaDES.core::spades(sim, debug = TRUE)
    4. └─SpaDES.core::spades(sim, debug = TRUE)
    5.   ├─base::withCallingHandlers(...)
    6.   └─SpaDES.core::doEvent(...)
    7.     └─SpaDES.core:::.runEvent(...)
    8.       ├─base::eval(fnCallAsExpr)
    9.       │ └─base::eval(fnCallAsExpr)
   10.       └─get(moduleCall, envir = fnEnv)(sim, cur[["eventTime"]], cur[["eventType"]])
   11.         └─SpaDES.core::Plots(...)
   12.           └─qs::qsave(gg, file = file.path(path, paste0(filename, "_gg.qs")))
  
  [ FAIL 1 | WARN 12 | SKIP 37 | PASS 393 ]
  Error: Test failures
  Execution halted