Running 'testthat.R' [42s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(medfateland)
  Loading required package: medfate
  Package 'medfate' [ver. 4.8.4]
  Package 'medfateland' [ver. 2.8.1]
  > 
  > test_check("medfateland")
  v No wildland locations with NULL values in column 'forest'.
  v All objects in column 'forest' have the right class.
  ! Wrong tree species names detected for 1 records (0.1%) in 1 wildland locations (1%).
  i Filtering out problematic tree/shrub records in 1 locations (1%) with missing/wrong forest data.
  ! Missing 'forest' data in 1 wildland locations (1%).
  v All objects in column 'forest' have the right class.
  v No missing/wrong values detected in key tree/shrub attributes of 'forest' objects.
  i Filling 1 missing forest(s) with default forest.
  ! Wrong tree species names detected for 1 records (0.1%) in 1 wildland locations (1%).
  ! Missing 'forest' data in 1 wildland locations (1%).
  Saving _problems/test_desc-10.R
  Package 'meteoland' [ver. 2.2.5]
  Saving _problems/test_land-7.R
  Saving _problems/test_land_day-7.R
  [ FAIL 3 | WARN 3 | SKIP 1 | PASS 34 ]
  
  ══ Skipped tests (1) ═══════════════════════════════════════════════════════════
  • empty test (1):
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_desc.R:9:1'): (code run outside of `test_that()`) ──────────────
  Error: [rast] empty srs
  Backtrace:
      ▆
   1. ├─terra::rast(...) at test_desc.R:9:1
   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_land.R:6:1'): (code run outside of `test_that()`) ──────────────
  Error: [rast] empty srs
  Backtrace:
      ▆
   1. ├─terra::rast(...) at test_land.R:6:1
   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_land_day.R:6:1'): (code run outside of `test_that()`) ──────────
  Error: [rast] empty srs
  Backtrace:
      ▆
   1. ├─terra::rast(...) at test_land_day.R:6:1
   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 3 | WARN 3 | SKIP 1 | PASS 34 ]
  Error:
  ! Test failures.
  Execution halted