CRAN Package Check Results for Maintainer ‘Maximilian H.K. Hesselbarth <mhk.hesselbarth at gmail.com>’

Last updated on 2025-12-03 05:50:52 CET.

Package ERROR NOTE OK
landscapemetrics 1 2 10
onpoint 13
shar 13

Package landscapemetrics

Current CRAN status: ERROR: 1, NOTE: 2, OK: 10

Version: 2.2.1
Check: installed package size
Result: NOTE installed size is 5.5Mb sub-directories of 1Mb or more: libs 3.8Mb Flavors: r-oldrel-macos-arm64, r-oldrel-macos-x86_64

Version: 2.2.1
Check: examples
Result: ERROR Running examples in 'landscapemetrics-Ex.R' failed The error most likely occurred in: > ### Name: check_landscape > ### Title: Check input landscape > ### Aliases: check_landscape > > ### ** Examples > > augusta_nlcd <- terra::rast(landscapemetrics::augusta_nlcd) > check_landscape(augusta_nlcd) layer crs units class n_classes OK 1 1 projected m integer 15 ✔ > podlasie_ccilc <- terra::rast(landscapemetrics::podlasie_ccilc) Warning: PROJ: proj_create_from_database: Cannot find proj.db (GDAL error 1) Error: [rast] empty srs Execution halted Flavor: r-oldrel-windows-x86_64

Version: 2.2.1
Check: tests
Result: ERROR Running 'testthat.R' [9s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(landscapemetrics) > library(terra) terra 1.8.86 Attaching package: 'terra' The following objects are masked from 'package:testthat': compare, describe > > library(dplyr) Attaching package: 'dplyr' The following objects are masked from 'package:terra': intersect, union The following objects are masked from 'package:stats': filter, lag The following objects are masked from 'package:base': intersect, setdiff, setequal, union > library(stringr) > library(tidyr) Attaching package: 'tidyr' The following object is masked from 'package:terra': extract > > test_check("landscapemetrics") Error in `source_dir()`: ! Failed to evaluate './helper-testthat.R'. Caused by error: ! [rast] empty srs Backtrace: ▆ 1. ├─testthat::test_check("landscapemetrics") 2. │ └─testthat::test_dir(...) 3. │ └─testthat:::test_files(...) 4. │ └─testthat:::test_files_serial(...) 5. │ └─testthat:::test_files_setup_state(...) 6. │ └─testthat::source_test_helpers(".", env) 7. │ └─testthat::source_dir(path, "^helper.*\\.[rR]$", env = env, wrap = FALSE) 8. │ └─base::lapply(...) 9. │ └─testthat (local) FUN(X[[i]], ...) 10. │ └─testthat::source_file(...) 11. │ ├─base::withCallingHandlers(...) 12. │ └─base::eval(exprs, env) 13. │ └─base::eval(exprs, env) 14. │ ├─terra::rast(landscapemetrics::podlasie_ccilc) at ./helper-testthat.R:6:1 15. │ └─terra::rast(landscapemetrics::podlasie_ccilc) 16. │ └─terra (local) .local(x, ...) 17. │ ├─terra::unwrap(x) 18. │ └─terra::unwrap(x) 19. │ └─terra (local) .local(x, ...) 20. │ ├─base::eval(parse(text = x@definition)) 21. │ │ └─base::eval(parse(text = x@definition)) 22. │ ├─terra::rast(...) 23. │ └─terra::rast(...) 24. │ └─terra (local) .local(x = x, ...) 25. │ └─terra:::new_rast(...) 26. │ └─terra:::messages(r, "rast") 27. │ └─terra:::error(f, x@pntr$getError()) 28. │ └─base::stop("[", f, "] ", emsg, ..., call. = FALSE) 29. └─base::.handleSimpleError(`<fn>`, "[rast] empty srs", base::quote(NULL)) 30. └─testthat (local) h(simpleError(msg, call)) 31. └─cli::cli_abort(...) 32. └─rlang::abort(...) Warning message: PROJ: proj_create_from_database: Cannot find proj.db (GDAL error 1) Execution halted Flavor: r-oldrel-windows-x86_64

Version: 2.2.1
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: --- re-building 'get_started.Rmd' using rmarkdown Quitting from get_started.Rmd:20-29 [load_libraries_hidden] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error: ! [rast] empty srs --- Backtrace: ▆ 1. ├─terra::rast(landscapemetrics::podlasie_ccilc) 2. └─terra::rast(landscapemetrics::podlasie_ccilc) 3. └─terra (local) .local(x, ...) 4. ├─terra::unwrap(x) 5. └─terra::unwrap(x) 6. └─terra (local) .local(x, ...) 7. ├─base::eval(parse(text = x@definition)) 8. │ └─base::eval(parse(text = x@definition)) 9. ├─terra::rast(...) 10. └─terra::rast(...) 11. └─terra (local) .local(x = x, ...) 12. └─terra:::new_rast(...) 13. └─terra:::messages(r, "rast") 14. └─terra:::error(f, x@pntr$getError()) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'get_started.Rmd' failed with diagnostics: [rast] empty srs --- failed re-building 'get_started.Rmd' SUMMARY: processing the following file failed: 'get_started.Rmd' Error: Vignette re-building failed. Execution halted Flavor: r-oldrel-windows-x86_64

Package onpoint

Current CRAN status: OK: 13

Package shar

Current CRAN status: OK: 13

mirror server hosted at Truenetwork, Russian Federation.