Running 'test-all.R' [92s]
Running the tests in 'tests/test-all.R' failed.
Complete output:
  > library(testthat)
  > test_check("SpaDES.tools")
  Loading required package: SpaDES.tools
  [1] "Scales with number of starts, not maxSize of raster"
  -- 1. Failure: spread2 tests -- asymmetry (@test-spread2.R#630)  ---------------
  `... <- NULL` produced warnings.
  
  -- 2. Failure: spread2 tests -- asymmetry (@test-spread2.R#630)  ---------------
  `... <- NULL` produced warnings.
  
  -- 3. Failure: spread2 tests -- asymmetry (@test-spread2.R#630)  ---------------
  `... <- NULL` produced warnings.
  
  -- 4. Failure: spread2 tests -- asymmetry (@test-spread2.R#630)  ---------------
  `... <- NULL` produced warnings.
  
  -- 5. Failure: spread2 tests -- asymmetry (@test-spread2.R#630)  ---------------
  `... <- NULL` produced warnings.
  
  -- 6. Failure: spread2 tests -- asymmetry (@test-spread2.R#630)  ---------------
  `... <- NULL` produced warnings.
  
  -- 7. Failure: spread2 tests -- asymmetry (@test-spread2.R#630)  ---------------
  `... <- NULL` produced warnings.
  
  -- 8. Failure: spread2 tests -- asymmetry (@test-spread2.R#630)  ---------------
  `... <- NULL` produced warnings.
  
  -- 9. Failure: spread2 tests -- asymmetry (@test-spread2.R#630)  ---------------
  `... <- NULL` produced warnings.
  
  -- 10. Failure: spread2 tests -- asymmetry (@test-spread2.R#630)  --------------
  `... <- NULL` produced warnings.
  
  -- 11. Failure: spread2 tests -- asymmetry (@test-spread2.R#630)  --------------
  `... <- NULL` produced warnings.
  
  -- 12. Failure: spread2 tests -- asymmetry (@test-spread2.R#630)  --------------
  `... <- NULL` produced warnings.
  
  -- 13. Failure: spread2 tests -- asymmetry (@test-spread2.R#630)  --------------
  `... <- NULL` produced warnings.
  
  -- 14. Failure: spread2 tests -- asymmetry (@test-spread2.R#630)  --------------
  `... <- NULL` produced warnings.
  
  -- 15. Failure: spread2 tests -- asymmetry (@test-spread2.R#630)  --------------
  `... <- NULL` produced warnings.
  
  -- 16. Failure: spread2 tests -- asymmetry (@test-spread2.R#630)  --------------
  `... <- NULL` produced warnings.
  
  -- 17. Failure: spread2 tests -- asymmetry (@test-spread2.R#630)  --------------
  `... <- NULL` produced warnings.
  
  -- 18. Failure: spread2 tests -- asymmetry (@test-spread2.R#630)  --------------
  `... <- NULL` produced warnings.
  
  -- 19. Failure: spread2 tests -- asymmetry (@test-spread2.R#630)  --------------
  `... <- NULL` produced warnings.
  
  -- 20. Failure: spread2 tests -- asymmetry (@test-spread2.R#630)  --------------
  `... <- NULL` produced warnings.
  
  -- 21. Error: spread2 tests -- asymmetry  --------------------------------------
  memory exhausted (limit reached?)
  1: test_code(desc, code, env = parent.frame())
  2: tryCatch(withCallingHandlers({
         eval(code, test_env)
         if (!handled && !is.null(test)) {
             skip_empty()
         }
     }, expectation = handle_expectation, skip = handle_skip, warning = handle_warning, 
         message = handle_message, error = handle_error), error = handle_fatal, skip = function(e) {
     })
  3: tryCatchList(expr, classes, parentenv, handlers)
  4: tryCatchOne(tryCatchList(expr, names[-nh], parentenv, handlers[-nh]), names[nh], 
         parentenv, handlers[[nh]])
  5: doTryCatch(return(expr), name, parentenv, handler)
  6: tryCatchList(expr, names[-nh], parentenv, handlers[-nh])
  7: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  8: value[[3L]](cond)
  
  -- 22. Failure: spread2 returnFrom (@test-spread2.R#846)  ----------------------
  `out <- spread2(a, start = sams, 0.215, asRaster = FALSE, returnFrom = TRUE)` produced warnings.
  
  -- 23. Failure: spread2 returnFrom (@test-spread2.R#846)  ----------------------
  `out <- spread2(a, start = sams, 0.215, asRaster = FALSE, returnFrom = TRUE)` produced warnings.
  
  -- 24. Failure: spread2 returnFrom (@test-spread2.R#846)  ----------------------
  `out <- spread2(a, start = sams, 0.215, asRaster = FALSE, returnFrom = TRUE)` produced warnings.
  
  -- 25. Failure: spread2 returnFrom (@test-spread2.R#846)  ----------------------
  `out <- spread2(a, start = sams, 0.215, asRaster = FALSE, returnFrom = TRUE)` produced warnings.
  
  -- 26. Failure: spread2 returnFrom (@test-spread2.R#846)  ----------------------
  `out <- spread2(a, start = sams, 0.215, asRaster = FALSE, returnFrom = TRUE)` produced warnings.
  
  -- 27. Failure: spread2 returnFrom (@test-spread2.R#846)  ----------------------
  `out <- spread2(a, start = sams, 0.215, asRaster = FALSE, returnFrom = TRUE)` produced warnings.
  
  -- 28. Failure: spread2 returnFrom (@test-spread2.R#846)  ----------------------
  `out <- spread2(a, start = sams, 0.215, asRaster = FALSE, returnFrom = TRUE)` produced warnings.
  
  -- 29. Failure: spread2 returnFrom (@test-spread2.R#846)  ----------------------
  `out <- spread2(a, start = sams, 0.215, asRaster = FALSE, returnFrom = TRUE)` produced warnings.
  
  -- 30. Failure: spread2 returnFrom (@test-spread2.R#846)  ----------------------
  `out <- spread2(a, start = sams, 0.215, asRaster = FALSE, returnFrom = TRUE)` produced warnings.
  
  -- 31. Failure: spread2 returnFrom (@test-spread2.R#846)  ----------------------
  `out <- spread2(a, start = sams, 0.215, asRaster = FALSE, returnFrom = TRUE)` produced warnings.
  
  -- 32. Failure: spread2 returnFrom (@test-spread2.R#846)  ----------------------
  `out <- spread2(a, start = sams, 0.215, asRaster = FALSE, returnFrom = TRUE)` produced warnings.
  
  -- 33. Failure: spread2 returnFrom (@test-spread2.R#846)  ----------------------
  `out <- spread2(a, start = sams, 0.215, asRaster = FALSE, returnFrom = TRUE)` produced warnings.
  
  -- 34. Failure: spread2 returnFrom (@test-spread2.R#846)  ----------------------
  `out <- spread2(a, start = sams, 0.215, asRaster = FALSE, returnFrom = TRUE)` produced warnings.
  
  -- 35. Failure: spread2 returnFrom (@test-spread2.R#846)  ----------------------
  `out <- spread2(a, start = sams, 0.215, asRaster = FALSE, returnFrom = TRUE)` produced warnings.
  
  -- 36. Failure: spread2 returnFrom (@test-spread2.R#846)  ----------------------
  `out <- spread2(a, start = sams, 0.215, asRaster = FALSE, returnFrom = TRUE)` produced warnings.
  
  -- 37. Failure: spread2 returnFrom (@test-spread2.R#846)  ----------------------
  `out <- spread2(a, start = sams, 0.215, asRaster = FALSE, returnFrom = TRUE)` produced warnings.
  
  -- 38. Failure: spread2 returnFrom (@test-spread2.R#846)  ----------------------
  `out <- spread2(a, start = sams, 0.215, asRaster = FALSE, returnFrom = TRUE)` produced warnings.
  
  -- 39. Failure: spread2 returnFrom (@test-spread2.R#846)  ----------------------
  `out <- spread2(a, start = sams, 0.215, asRaster = FALSE, returnFrom = TRUE)` produced warnings.
  
  -- 40. Failure: spread2 returnFrom (@test-spread2.R#846)  ----------------------
  `out <- spread2(a, start = sams, 0.215, asRaster = FALSE, returnFrom = TRUE)` produced warnings.
  
  -- 41. Failure: spread2 returnFrom (@test-spread2.R#846)  ----------------------
  `out <- spread2(a, start = sams, 0.215, asRaster = FALSE, returnFrom = TRUE)` produced warnings.
  
  == testthat results  ===========================================================
  OK: 1578 SKIPPED: 22 FAILED: 41
  1. Failure: spread2 tests -- asymmetry (@test-spread2.R#630) 
  2. Failure: spread2 tests -- asymmetry (@test-spread2.R#630) 
  3. Failure: spread2 tests -- asymmetry (@test-spread2.R#630) 
  4. Failure: spread2 tests -- asymmetry (@test-spread2.R#630) 
  5. Failure: spread2 tests -- asymmetry (@test-spread2.R#630) 
  6. Failure: spread2 tests -- asymmetry (@test-spread2.R#630) 
  7. Failure: spread2 tests -- asymmetry (@test-spread2.R#630) 
  8. Failure: spread2 tests -- asymmetry (@test-spread2.R#630) 
  9. Failure: spread2 tests -- asymmetry (@test-spread2.R#630) 
  1. ...
  
  Error: testthat unit tests failed
  Execution halted