Running 'testthat.R' [64s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(exactextractr)
  > 
  > test_check("exactextractr")
  [ FAIL 3 | WARN 0 | SKIP 0 | PASS 461 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_exact_extract_eager_load.R:83:3'): cropping does not introduce grid incompatibility ──
  <std::bad_alloc/C++Error/error/condition>
  Error: std::bad_alloc
  Backtrace:
       ▆
    1. ├─testthat::expect_silent(...) at test_exact_extract_eager_load.R:83:2
    2. │ └─testthat:::quasi_capture(enquo(object), NULL, evaluate_promise)
    3. │   ├─testthat (local) .capture(...)
    4. │   │ ├─withr::with_output_sink(...)
    5. │   │ │ └─base::force(code)
    6. │   │ ├─base::withCallingHandlers(...)
    7. │   │ └─base::withVisible(code)
    8. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    9. ├─exactextractr::exact_extract(...) at test_exact_extract_eager_load.R:84:4
   10. ├─exactextractr::exact_extract(...)
   11. │ └─exactextractr (local) .local(x, y, ...)
   12. │   ├─base::tryCatch(...)
   13. │   │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   14. │   └─base::lapply(...)
   15. │     └─exactextractr (local) FUN(X[[i]], ...)
   16. │       └─exactextractr:::CPP_exact_extract(...)
   17. └─exactextractr (local) `<fn>`(`<SpatRstr[,3459,1]>`, 1, 855, 1, 1288)
   18.   ├─terra::readValues(r, row, nrows, col, ncols, mat = TRUE)
   19.   └─terra::readValues(r, row, nrows, col, ncols, mat = TRUE)
   20.     └─terra (local) .local(x, ...)
   21.       └─x@ptr$readValues(row - 1, nrows, col - 1, ncols)
  ── Error ('test_exact_extract_eager_load.R:104:3'): eager loading does not change values ──
  <Rcpp::exception/C++Error/error/condition>
  Error: std::bad_alloc
  Backtrace:
      ▆
   1. ├─exactextractr::exact_extract(...) at test_exact_extract_eager_load.R:104:2
   2. └─exactextractr::exact_extract(...)
   3.   └─exactextractr (local) .local(x, y, ...)
   4.     ├─base::tryCatch(...)
   5.     │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   6.     └─base::lapply(...)
   7.       └─exactextractr (local) FUN(X[[i]], ...)
   8.         └─exactextractr:::CPP_exact_extract(...)
  ── Error ('test_helper_blocksize.R:34:3'): blockSize reports block size in row-col order ──
  <std::bad_alloc/C++Error/error/condition>
  Error: std::bad_alloc
  Backtrace:
      ▆
   1. ├─base::suppressWarnings(...) at test_helper_blocksize.R:34:2
   2. │ └─base::withCallingHandlers(...)
   3. ├─terra::writeRaster(...) at test_helper_blocksize.R:35:4
   4. └─terra::writeRaster(...)
   5.   └─terra (local) .local(x, filename, ...)
   6.     └─x@ptr$writeRaster(opt)
  
  [ FAIL 3 | WARN 0 | SKIP 0 | PASS 461 ]
  Error: Test failures
  Execution halted