Running ‘test-all.R’ [78s/94s]
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
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  ● GLPK not available on Linux (1)
  ● On CRAN (12)
  ● This memoryUse is still very experimental (1)
  ● benchmarking DES (1)
  ● empty test (2)
  ● restartR not possible in automated tests (1)
  ● restartR with logging not possible in automated tests (1)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-save.R:196:3): saveSimList does not work correctly ──────────────
  Error: error in evaluating the argument 'v' in selecting a method for function 'writeValues': dims [product 400] do not match the length of object [0]
  Backtrace:
       █
    1. ├─raster::writeRaster(sim$landscape, filename = tmpfile[1], overwrite = TRUE) test-save.R:196:2
    2. ├─raster::writeRaster(sim$landscape, filename = tmpfile[1], overwrite = TRUE)
    3. │ └─raster:::.local(x, filename, ...)
    4. │   ├─raster::writeValues(...)
    5. │   ├─raster::getValues(x, tr$row[i], tr$nrows[i])
    6. │   └─raster::getValues(x, tr$row[i], tr$nrows[i])
    7. │     └─raster:::.local(x, row, nrows, ...)
    8. │       └─raster:::.readRasterBrickValues(x, row, nrows)
    9. │         └─raster:::getBilData(...)
   10. └─base::.handleSimpleError(...)
   11.   └─base:::h(simpleError(msg, call))
  
  [ FAIL 1 | WARN 0 | SKIP 19 | PASS 520 ]
  Error: Test failures
  In addition: Warning messages:
  1: In for (i in seq_along(extends)) { :
    closing unused connection 5 (/tmp/RtmpSqL1Pb/working_dir/RtmpHmdxtF/Require/RuduTlbgckC/xCpMtqK.gri)
  2: In for (i in seq_along(extends)) { :
    closing unused connection 4 (/tmp/RtmpSqL1Pb/working_dir/RtmpHmdxtF/DFtxYO/xCpMtqK.gri)
  Execution halted