Running ‘test-all.R’ [169s/397s]
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 object is masked from 'package:reproducible':
  
      paddedFloatToChar
  
  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 (1)
  ● restartR not possible in automated tests (1)
  ● restartR with logging not possible in automated tests (1)
  ● zipSimList not yet testable (1)
  
  ══ Warnings ════════════════════════════════════════════════════════════════════
  ── Warning (test-load.R:424:3): Filenames for simList ──────────────────────────
  NOT UPDATED FOR PROJ >= 6
  Backtrace:
   1. raster::writeRaster(s$r, filename = tmpfile[1], overwrite = TRUE) test-load.R:424:2
   2. raster::writeRaster(s$r, filename = tmpfile[1], overwrite = TRUE)
   3. raster:::.local(x, filename, ...)
   4. raster:::.writeGDALall(...)
   5. raster:::.startGDALwriting(...)
   6. raster:::.getGDALtransient(...)
   7. rgdal::GDALcall(transient, "SetProject", prj)
   8. rgdal:::.gd_SetProject(object, ...)
  ── Warning (test-load.R:425:3): Filenames for simList ──────────────────────────
  NOT UPDATED FOR PROJ >= 6
  Backtrace:
   1. raster::writeRaster(s$r2, filename = tmpfile[3], overwrite = TRUE) test-load.R:425:2
   2. raster::writeRaster(s$r2, filename = tmpfile[3], overwrite = TRUE)
   3. raster:::.local(x, filename, ...)
   4. raster:::.writeGDALall(...)
   5. raster:::.startGDALwriting(...)
   6. raster:::.getGDALtransient(...)
   7. rgdal::GDALcall(transient, "SetProject", prj)
   8. rgdal:::.gd_SetProject(object, ...)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure (test-save.R:199:3): saveSimList does not work correctly ────────────
  all.equal(mySim, sim) is not TRUE
  
  `actual` is a character vector ('Component ".mods": Component "caribouMovement": Component "Init": Names: 3 string mismatches', 'Component ".mods": Component "caribouMovement": Component "Init": Length mismatch: comparison on first 3 components', 'Component ".mods": Component "caribouMovement": Component "Init": Component 1: Modes of target, current: function, character', 'Component ".mods": Component "caribouMovement": Component "Init": Component 1: target, current do not match when deparsed', 'Component ".mods": Component "caribouMovement": Component "Init": Component 1: \'current\' is not an environment', ...)
  `expected` is a logical vector (TRUE)
  
  [ FAIL 1 | WARN 2 | SKIP 19 | PASS 507 ]
  Error: Test failures
  Execution halted