Running ‘test-all.R’ [150s/166s]
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
  
    Using cached copy of .inputObjects event in test module.   
  Error in header[["Content-Length"]] : subscript out of bounds
  ── 1. Failure: simulation runs with simInit and spades (@test-simulation.R#86)  
  mySim$caribou$x not equivalent to `pos_x`.
  100/100 mismatches (average diff: 9.83)
  [1]   3.67 -   1.06 ==   2.613
  [2]  43.57 -  44.45 ==  -0.883
  [3]  47.23 -  45.88 ==   1.351
  [4]   3.60 -  -1.32 ==   4.918
  [5]  20.23 -  17.86 ==   2.370
  [6] -47.81 -  48.48 == -96.294
  [7]  16.55 -  10.75 ==   5.796
  [8] -21.41 - -24.63 ==   3.218
  [9] -47.28 - -48.51 ==   1.234
  ...
  
  ── 2. Failure: simulation runs with simInit and spades (@test-simulation.R#87)  
  mySim$caribou$y not equivalent to `pos_y`.
  100/100 mismatches (average diff: 5.15)
  [1] -15.00 - -15.90 ==  0.898
  [2]  -5.35 -  -8.97 ==  3.616
  [3]  19.51 -  25.27 == -5.758
  [4] -36.40 - -39.07 ==  2.674
  [5] -33.64 - -32.96 == -0.678
  [6]  15.57 -  19.59 == -4.027
  [7]  15.12 -  14.87 ==  0.249
  [8]  39.63 -  38.26 ==  1.368
  [9]  -6.33 -  -8.17 ==  1.831
  ...
  
    Using cached copy of .inputObjects event in child6 module.   
    Using memoised copy of .inputObjects event in child6 module
    Using memoised copy of .inputObjects event in child6 module
  ══ testthat results  ═══════════════════════════════════════════════════════════
  OK: 458 SKIPPED: 32 FAILED: 2
  1. Failure: simulation runs with simInit and spades (@test-simulation.R#86) 
  2. Failure: simulation runs with simInit and spades (@test-simulation.R#87) 
  
  Error: testthat unit tests failed
  Execution halted