CRAN Package Check Results for Package rlandfire

Last updated on 2024-12-25 15:49:24 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0.0 4.45 29.58 34.03 ERROR
r-devel-linux-x86_64-debian-gcc 1.0.0 3.64 39.14 42.78 OK
r-devel-linux-x86_64-fedora-clang 1.0.0 104.01 OK
r-devel-linux-x86_64-fedora-gcc 1.0.0 103.57 OK
r-devel-windows-x86_64 1.0.0 6.00 68.00 74.00 OK
r-patched-linux-x86_64 1.0.0 4.30 50.53 54.83 OK
r-release-linux-x86_64 1.0.0 4.41 51.71 56.12 OK
r-release-macos-arm64 1.0.0 38.00 OK
r-release-macos-x86_64 1.0.0 56.00 OK
r-release-windows-x86_64 1.0.0 7.00 68.00 75.00 OK
r-oldrel-macos-arm64 1.0.0 42.00 OK
r-oldrel-macos-x86_64 1.0.0 82.00 OK
r-oldrel-windows-x86_64 1.0.0 7.00 78.00 85.00 OK

Check Details

Version: 1.0.0
Check: examples
Result: ERROR Running examples in ‘rlandfire-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: getAOI > ### Title: Create extent vector for 'landfireAPI()' > ### Aliases: getAOI > > ### ** Examples > > r <- terra::rast(nrows = 50, ncols = 50, + xmin = -123.7835, xmax = -123.6352, + ymin = 41.7534, ymax = 41.8042, + crs = terra::crs("epsg:4326"), + vals = rnorm(2500)) Error in loadNamespace(x) : there is no package called ‘terra’ Calls: loadNamespace -> withRestarts -> withOneRestart -> doWithOneRestart Execution halted Flavor: r-devel-linux-x86_64-debian-clang

Version: 1.0.0
Check: tests
Result: ERROR Running ‘testthat.R’ [3s/4s] 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/tests.html > # * https://testthat.r-lib.org/reference/test_package.html#special-files > > library(testthat) > library(rlandfire) > > test_check("rlandfire") [ FAIL 5 | WARN 0 | SKIP 3 | PASS 22 ] ══ Skipped tests (3) ═══════════════════════════════════════════════════════════ • On CRAN (3): 'test-landfireAPI.R:59:3', 'test-landfireAPI.R:72:3', 'test-landfireAPI.R:86:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-getAOI.R:2:3'): `getAOI` works with supported object classes ─── <packageNotFoundError/error/condition> Error in `loadNamespace(x)`: there is no package called 'terra' Backtrace: ▆ 1. └─base::loadNamespace(x) at test-getAOI.R:2:3 2. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 3. └─base (local) withOneRestart(expr, restarts[[1L]]) 4. └─base (local) doWithOneRestart(return(expr), restart) ── Error ('test-getAOI.R:20:3'): `getAOI()` recognizes arguement errors ──────── <packageNotFoundError/error/condition> Error in `loadNamespace(x)`: there is no package called 'terra' Backtrace: ▆ 1. └─base::loadNamespace(x) at test-getAOI.R:20:3 2. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 3. └─base (local) withOneRestart(expr, restarts[[1L]]) 4. └─base (local) doWithOneRestart(return(expr), restart) ── Error ('test-getAOI.R:45:3'): `getAOI` returns correct extended AOI ───────── <packageNotFoundError/error/condition> Error in `loadNamespace(x)`: there is no package called 'terra' Backtrace: ▆ 1. └─base::loadNamespace(x) at test-getAOI.R:45:3 2. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 3. └─base (local) withOneRestart(expr, restarts[[1L]]) 4. └─base (local) doWithOneRestart(return(expr), restart) ── Error ('test-getAOI.R:61:3'): `getAOI` returns correct CRS ────────────────── <packageNotFoundError/error/condition> Error in `loadNamespace(x)`: there is no package called 'terra' Backtrace: ▆ 1. └─base::loadNamespace(x) at test-getAOI.R:61:3 2. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 3. └─base (local) withOneRestart(expr, restarts[[1L]]) 4. └─base (local) doWithOneRestart(return(expr), restart) ── Error ('test-getAOI.R:118:3'): `getZone` recognizes arguement errors ──────── <packageNotFoundError/error/condition> Error in `loadNamespace(x)`: there is no package called 'terra' Backtrace: ▆ 1. ├─testthat::expect_error(getZone(terra::vect(v)), "argument `data` must be sf object, or character string") at test-getAOI.R:118:3 2. │ └─testthat:::expect_condition_matching(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. ├─rlandfire::getZone(terra::vect(v)) 8. └─base::loadNamespace(x) 9. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 10. └─base (local) withOneRestart(expr, restarts[[1L]]) 11. └─base (local) doWithOneRestart(return(expr), restart) [ FAIL 5 | WARN 0 | SKIP 3 | PASS 22 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-debian-clang

Version: 1.0.0
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: ... --- re-building ‘rlandfire.Rmd’ using rmarkdown Quitting from lines 56-59 [setup] (rlandfire.Rmd) Error: processing vignette 'rlandfire.Rmd' failed with diagnostics: there is no package called 'terra' --- failed re-building ‘rlandfire.Rmd’ SUMMARY: processing the following file failed: ‘rlandfire.Rmd’ Error: Vignette re-building failed. Execution halted Flavor: r-devel-linux-x86_64-debian-clang