Running ‘testthat.R’ [19s/21s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(rasterpic)
  > 
  > test_check("rasterpic")
  Testing jpeg
  Testing jpg
  Testing png
  Testing tif
  Testing tiff
  Testing jpeg
  Testing jpg
  Testing png
  Testing tif
  Testing tiff
  [ FAIL 7 | WARN 0 | SKIP 8 | PASS 110 ]
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • On CRAN (8)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-errors_messages.R:71:3): Message in lonlat raster ───────────────
  Error: [project] cannot create dataset from source
  Backtrace:
      ▆
   1. ├─terra::project(x, "epsg:4326") at test-errors_messages.R:71:2
   2. └─terra::project(x, "epsg:4326")
   3.   └─terra .local(x, ...)
   4.     └─terra:::messages(x, "project")
   5.       └─terra:::error(f, x@ptr$getError())
  ── Error (test-errors_messages.R:85:3): Message in mask raster ─────────────────
  Error: [project] cannot create dataset from source
  Backtrace:
      ▆
   1. ├─terra::project(x, "epsg:3857") at test-errors_messages.R:85:2
   2. └─terra::project(x, "epsg:3857")
   3.   └─terra .local(x, ...)
   4.     └─terra:::messages(x, "project")
   5.       └─terra:::error(f, x@ptr$getError())
  ── Error (test-fileformat.R:73:3): Test all image formats with a raster ────────
  Error: [project] cannot create dataset from source
  Backtrace:
      ▆
   1. ├─terra::project(x, "epsg:3857") at test-fileformat.R:73:2
   2. └─terra::project(x, "epsg:3857")
   3.   └─terra .local(x, ...)
   4.     └─terra:::messages(x, "project")
   5.       └─terra:::error(f, x@ptr$getError())
  ── Error (test-plots_raster.R:26:3): Raster plots regular ──────────────────────
  Error: [project] cannot create dataset from source
  Backtrace:
      ▆
   1. ├─terra::project(x, "epsg:3857") at test-plots_raster.R:26:2
   2. └─terra::project(x, "epsg:3857")
   3.   └─terra .local(x, ...)
   4.     └─terra:::messages(x, "project")
   5.       └─terra:::error(f, x@ptr$getError())
  ── Error (test-plots_raster.R:35:3): Raster plots expand ───────────────────────
  Error: [project] cannot create dataset from source
  Backtrace:
      ▆
   1. ├─terra::project(x, "epsg:3857") at test-plots_raster.R:35:2
   2. └─terra::project(x, "epsg:3857")
   3.   └─terra .local(x, ...)
   4.     └─terra:::messages(x, "project")
   5.       └─terra:::error(f, x@ptr$getError())
  ── Error (test-plots_raster.R:45:3): Raster plots aligns ───────────────────────
  Error: [project] cannot create dataset from source
  Backtrace:
      ▆
   1. ├─terra::project(x, "epsg:3857") at test-plots_raster.R:45:2
   2. └─terra::project(x, "epsg:3857")
   3.   └─terra .local(x, ...)
   4.     └─terra:::messages(x, "project")
   5.       └─terra:::error(f, x@ptr$getError())
  ── Error (test-plots_raster.R:57:3): Raster plots crop ─────────────────────────
  Error: [project] cannot create dataset from source
  Backtrace:
      ▆
   1. ├─terra::project(x, "epsg:3857") at test-plots_raster.R:57:2
   2. └─terra::project(x, "epsg:3857")
   3.   └─terra .local(x, ...)
   4.     └─terra:::messages(x, "project")
   5.       └─terra:::error(f, x@ptr$getError())
  
  [ FAIL 7 | WARN 0 | SKIP 8 | PASS 110 ]
  Error: Test failures
  Execution halted