CRAN Package Check Results for Package landscapemetrics

Last updated on 2025-12-12 21:49:58 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 2.2.1 93.08 265.89 358.97 OK
r-devel-linux-x86_64-debian-gcc 2.2.1 58.28 172.62 230.90 OK
r-devel-linux-x86_64-fedora-clang 2.2.1 188.00 413.42 601.42 OK
r-devel-linux-x86_64-fedora-gcc 2.2.1 159.00 398.50 557.50 OK
r-devel-windows-x86_64 2.2.1 111.00 316.00 427.00 OK
r-patched-linux-x86_64 2.2.1 87.49 240.03 327.52 OK
r-release-linux-x86_64 2.2.1 87.56 239.67 327.23 OK
r-release-macos-arm64 2.2.1 OK
r-release-macos-x86_64 2.2.1 54.00 264.00 318.00 OK
r-release-windows-x86_64 2.2.1 112.00 308.00 420.00 OK
r-oldrel-macos-arm64 2.2.1 NOTE
r-oldrel-macos-x86_64 2.2.1 54.00 262.00 316.00 NOTE
r-oldrel-windows-x86_64 2.2.1 130.00 207.00 337.00 ERROR

Check Details

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

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.