Running ‘test-all.R’ [69s/107s]
Running the tests in ‘tests/test-all.R’ failed.
Complete output:
  > library(testthat)
  > test_check("reproducible")
  Loading required package: reproducible
  ── 1. Error: fastMask produces correct results (@test-gis.R#31)  ───────────────
  Index out of bounds: [index='proj4string'].
  Backtrace:
   1. reproducible::fastMask(x = origStack[[2]], y = shpDF)
   2. fasterize::fasterize(sf::st_as_sf(y), raster = x[[1]], field = NULL)
  
  cloning into '/tmp/RtmpDeuEJi/test_git'...
  Receiving objects:   1% (6/505),   10 kb
  Receiving objects:  11% (56/505),   17 kb
  Receiving objects:  21% (107/505),   41 kb
  Receiving objects:  31% (157/505),  177 kb
  Receiving objects:  41% (208/505),  185 kb
  Receiving objects:  51% (258/505),  202 kb
  Receiving objects:  61% (309/505),  210 kb
  Receiving objects:  71% (359/505),  218 kb
  Receiving objects:  81% (410/505),  224 kb
  Receiving objects:  91% (460/505),  233 kb
  Receiving objects: 100% (505/505),  234 kb, done.
  ── 2. Error: prepInputs doesn't work (part 3) (@test-postProcess.R#39)  ────────
  Index out of bounds: [index='proj4string'].
  Backtrace:
   1. fasterize::fasterize(nc1, r)
  
    objectNames hashElements             hash objSize
  1           n            n 853b1797f54b229c      56
  2        .FUN         .FUN 4f604aa46882b368     224
    functionName        component  elapsedTime units
  1        rnorm          Hashing 0.0011310577  secs
  2        rnorm    Running rnorm 0.0000705719  secs
  3        rnorm   Saving to repo 0.0603814125  secs
  4        rnorm Whole Cache call 0.6216518879  secs
    objectNames hashElements             hash objSize
  1        file         file 64f2bd7762f86fbe     152
  2        .FUN         .FUN 7a8f2865ef4bc06d    1256
    functionName        component  elapsedTime units
  1      readRDS          Hashing 0.0013175011  secs
  2      readRDS  Running readRDS 0.0006663799  secs
  3      readRDS   Saving to repo 0.0919792652  secs
  4      readRDS Whole Cache call 0.1461677551  secs
    objectNames hashElements             hash objSize
  1        file         file 64f2bd7762f86fbe   24138
  2        .FUN         .FUN 7a8f2865ef4bc06d    1256
    functionName         component elapsedTime units
  1      readRDS           Hashing 0.001181126  secs
  2      readRDS Loading from repo 0.003619909  secs
  3      readRDS  Whole Cache call 0.060149193  secs
  ══ testthat results  ═══════════════════════════════════════════════════════════
  [ OK: 324 | SKIPPED: 67 | WARNINGS: 11 | FAILED: 2 ]
  1. Error: fastMask produces correct results (@test-gis.R#31) 
  2. Error: prepInputs doesn't work (part 3) (@test-postProcess.R#39) 
  
  Error: testthat unit tests failed
  Execution halted