Running 'testthat.R' [28s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(assignR)
  knownOrig database version 0.2, 4352 samples from 1986 sites.
  Warning messages:
  1: PROJ: proj_identify: Cannot find proj.db (GDAL error 1) 
  2: PROJ: proj_identify: Cannot find proj.db (GDAL error 1) 
  3: PROJ: proj_identify: Cannot find proj.db (GDAL error 1) 
  4: PROJ: proj_identify: Cannot find proj.db (GDAL error 1) 
  > 
  > test_check("assignR")
  trying URL 'https://wateriso.utah.edu/waterisotopes/media/ArcGrids/CaribSr.zip'
  Content type 'application/zip' length 5393557 bytes (5.1 MB)
  ==================================================
  downloaded 5.1 MB
  
  Saving _problems/test_pdRaster-22.R
  [ FAIL 2 | WARN 2 | SKIP 0 | PASS 33 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_pdRaster.R:22:1'): (code run outside of `test_that()`) ─────────
  Error: [project] output crs is not valid
  Backtrace:
      ▆
   1. ├─terra::project(naMap, "+init=epsg:28992") at test_pdRaster.R:22:1
   2. └─terra::project(naMap, "+init=epsg:28992")
   3.   └─terra (local) .local(x, ...)
   4.     └─terra:::messages(x, "project")
   5.       └─terra:::error(f, x@pntr$getError())
  ── Error ('test_processing.R:28:3'): (code run outside of `test_that()`) ───────
  Error: [project] output crs is not valid
  Backtrace:
       ▆
    1. ├─testthat::capture_output(...) at test_processing.R:24:1
    2. │ └─testthat::capture_output_lines(code, print, width = width)
    3. │   └─testthat:::eval_with_output(code, print = print, width = width)
    4. │     ├─withr::with_output_sink(path, withVisible(code))
    5. │     │ └─base::force(code)
    6. │     └─base::withVisible(code)
    7. ├─terra::project(d$data, "+init=epsg:28992") at test_processing.R:28:3
    8. └─terra::project(d$data, "+init=epsg:28992")
    9.   └─terra (local) .local(x, ...)
   10.     └─terra:::messages(x, "project")
   11.       └─terra:::error(f, x@pntr$getError())
  
  [ FAIL 2 | WARN 2 | SKIP 0 | PASS 33 ]
  Error:
  ! Test failures.
  Execution halted