Running 'testthat.R' [19s]
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
  > 
  > library(testthat)
  > library(sigugr)
  > 
  > test_check("sigugr")
  writing: substituting ENGCRS["Undefined Cartesian SRS with unknown unit"] for missing CRS
  Saving _problems/test-clip_raster-32.R
  Saving _problems/test-clip_raster-50.R
  No encoding supplied: defaulting to UTF-8.
  No encoding supplied: defaulting to UTF-8.
  Fetching all vector layers from the database...
  Fetching all vector layers from the database...
  No encoding supplied: defaulting to UTF-8.
  writing: substituting ENGCRS["Undefined Cartesian SRS with unknown unit"] for missing CRS
  writing: substituting ENGCRS["Undefined Cartesian SRS with unknown unit"] for missing CRS
  [ FAIL 2 | WARN 22 | SKIP 0 | PASS 197 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-clip_raster.R:30:3'): clip_raster handles valid inputs correctly ──
  Error: [rast] empty srs
  Backtrace:
      ▆
   1. ├─terra::rast(...) at test-clip_raster.R:30:3
   2. └─terra::rast(...)
   3.   └─terra (local) .local(x = x, ...)
   4.     └─terra:::new_rast(...)
   5.       └─terra:::messages(r, "rast")
   6.         └─terra:::error(f, x@pntr$getError())
  ── Error ('test-clip_raster.R:48:3'): clip_raster projects raster if CRS differs ──
  Error: [rast] empty srs
  Backtrace:
      ▆
   1. ├─terra::rast(...) at test-clip_raster.R:48:3
   2. └─terra::rast(...)
   3.   └─terra (local) .local(x = x, ...)
   4.     └─terra:::new_rast(...)
   5.       └─terra:::messages(r, "rast")
   6.         └─terra:::error(f, x@pntr$getError())
  
  [ FAIL 2 | WARN 22 | SKIP 0 | PASS 197 ]
  Error:
  ! Test failures.
  Execution halted