CRAN Package Check Results for Maintainer ‘Mark Buckner <mab677 at cornell.edu>’

Last updated on 2024-12-23 12:49:47 CET.

Package ERROR OK
rlandfire 1 12

Package rlandfire

Current CRAN status: ERROR: 1, OK: 12

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-gcc

Version: 1.0.0
Check: tests
Result: ERROR Running ‘testthat.R’ [2s/3s] 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-gcc

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-gcc