Running ‘testthat.R’ [187s/279s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > # This file is part of the standard setup for testthat.
  > # It is recommended that you do not modify it.
  > #
  > # Where should you do additional test configuration?
  > # Learn more about the roles of various files in:
  > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
  > # * https://testthat.r-lib.org/articles/special-files.html
  > 
  > Sys.setenv("OMP_THREAD_LIMIT" = 2)
  > origDTthreads <- data.table::setDTthreads(2L)
  > 
  > library(testthat)
  > library(SpaDES.tools)
  > 
  > test_check("SpaDES.tools")
  Assuming matrix is in latitude/longitude
  The CRS provided is not in meters; converting internally to UTM so area will be approximately correct.
  
  |---------|---------|---------|---------|
  =========================================
                                            
  
  |---------|---------|---------|---------|
  =========================================
                                            
  
  |---------|---------|---------|---------|
  =========================================
                                            
  duplicate initial loci are provided
  duplicate initial loci are provided
  1
  2
  3
  4
  5
  6
  7
  8
  9
  10
  11
  12
  13
  14
  15
  16
  17
  18
  19
  20
  Scales with number of starts, not maxSize of raster
  exactSize provided. It does not match with size attr(start, 'spreadState')$maxSize. Using the new exactSize provided. Perhaps sorted differently?Try sorting initial call to spread2 so that pixel number of start cells is strictly increasing
  1
  2
  3
  4
  5
  6
  7
  8
  9
  10
  11
  12
  13
  14
  15
  16
  17
  18
  19
  20
  Scales with number of starts, not maxSize of raster
  exactSize provided. It does not match with size attr(start, 'spreadState')$maxSize. Using the new exactSize provided. Perhaps sorted differently?Try sorting initial call to spread2 so that pixel number of start cells is strictly increasing
  [ FAIL 12 | WARN 0 | SKIP 5 | PASS 2224 ]
  
  ══ Skipped tests (5) ═══════════════════════════════════════════════════════════
  • NLMR cannot be loaded (1): 'test-neutralLandscapeMap.R:2:3'
  • On CRAN (3): 'test-splitRaster.R:220:3', 'test-splitRaster.R:281:3',
    'test-spread.R:841:3'
  • empty test (1): 'test-examples.R:1:1'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-splitRaster.R:118:7'): splitRaster and mergeRaster work on small in-memory rasters ──
  file.exists(reproducible::Filenames(y1[[i]])) is not FALSE
  
  `actual`:        
  `expected`: FALSE
  ── Failure ('test-splitRaster.R:118:7'): splitRaster and mergeRaster work on small in-memory rasters ──
  file.exists(reproducible::Filenames(y1[[i]])) is not FALSE
  
  `actual`:        
  `expected`: FALSE
  ── Failure ('test-splitRaster.R:118:7'): splitRaster and mergeRaster work on small in-memory rasters ──
  file.exists(reproducible::Filenames(y1[[i]])) is not FALSE
  
  `actual`:        
  `expected`: FALSE
  ── Failure ('test-splitRaster.R:118:7'): splitRaster and mergeRaster work on small in-memory rasters ──
  file.exists(reproducible::Filenames(y1[[i]])) is not FALSE
  
  `actual`:        
  `expected`: FALSE
  ── Failure ('test-splitRaster.R:118:7'): splitRaster and mergeRaster work on small in-memory rasters ──
  file.exists(reproducible::Filenames(y1[[i]])) is not FALSE
  
  `actual`:        
  `expected`: FALSE
  ── Failure ('test-splitRaster.R:118:7'): splitRaster and mergeRaster work on small in-memory rasters ──
  file.exists(reproducible::Filenames(y1[[i]])) is not FALSE
  
  `actual`:        
  `expected`: FALSE
  ── Failure ('test-splitRaster.R:118:7'): splitRaster and mergeRaster work on small in-memory rasters ──
  file.exists(reproducible::Filenames(y1[[i]])) is not FALSE
  
  `actual`:        
  `expected`: FALSE
  ── Failure ('test-splitRaster.R:118:7'): splitRaster and mergeRaster work on small in-memory rasters ──
  file.exists(reproducible::Filenames(y1[[i]])) is not FALSE
  
  `actual`:        
  `expected`: FALSE
  ── Failure ('test-splitRaster.R:118:7'): splitRaster and mergeRaster work on small in-memory rasters ──
  file.exists(reproducible::Filenames(y1[[i]])) is not FALSE
  
  `actual`:        
  `expected`: FALSE
  ── Failure ('test-splitRaster.R:118:7'): splitRaster and mergeRaster work on small in-memory rasters ──
  file.exists(reproducible::Filenames(y1[[i]])) is not FALSE
  
  `actual`:        
  `expected`: FALSE
  ── Failure ('test-splitRaster.R:118:7'): splitRaster and mergeRaster work on small in-memory rasters ──
  file.exists(reproducible::Filenames(y1[[i]])) is not FALSE
  
  `actual`:        
  `expected`: FALSE
  ── Failure ('test-splitRaster.R:118:7'): splitRaster and mergeRaster work on small in-memory rasters ──
  file.exists(reproducible::Filenames(y1[[i]])) is not FALSE
  
  `actual`:        
  `expected`: FALSE
  
  [ FAIL 12 | WARN 0 | SKIP 5 | PASS 2224 ]
  Error: Test failures
  Execution halted