CRAN Package Check Results for Maintainer ‘Tristan Blechinger <tblechin at uwyo.edu>’

Last updated on 2025-12-04 09:50:34 CET.

Package ERROR OK
rLakeHabitat 1 12

Package rLakeHabitat

Current CRAN status: ERROR: 1, OK: 12

Version: 1.0.1
Check: examples
Result: ERROR Running examples in 'rLakeHabitat-Ex.R' failed The error most likely occurred in: > ### Name: crossValidate > ### Title: Cross Validate Interpolated Bathymetry > ### Aliases: crossValidate > > ### ** Examples > > #load example outline > outline <- terra::vect(system.file("extdata", "example_outline.shp", package = 'rLakeHabitat')) Warning: PROJ: proj_identify: Cannot find proj.db (GDAL error 1) Warning: [vect] Z coordinates ignored > #load example xyz data > data <- read.csv(system.file("extdata", "example_depths.csv", package = 'rLakeHabitat')) > #run function > crossValidate(outline, data, "x", "y", "z", zeros = FALSE, separation = 10, k = 5, crsUnit = "dd", + res = 50, method = "IDW", nmax = 4, idp = 1.5) 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: 1.0.1
Check: tests
Result: ERROR Running 'testthat.R' [21s] 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/testing-design.html#sec-tests-files-overview > # * https://testthat.r-lib.org/articles/special-files.html > > library(testthat) > library(rLakeHabitat) > > test_check("rLakeHabitat") Saving _problems/test-crossValidate-52.R Saving _problems/test-interpBathy-51.R Saving _problems/test-rarify-32.R [ FAIL 3 | WARN 9 | SKIP 0 | PASS 209 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-crossValidate.R:52:3'): crossValidate output check ───────────── Error: [rast] empty srs Backtrace: ▆ 1. ├─testthat::expect_equal(...) at test-crossValidate.R:52:3 2. │ └─testthat::quasi_label(enquo(object), label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─rLakeHabitat::crossValidate(...) 5. └─rLakeHabitat::interpBathy(...) 6. └─rLakeHabitat (local) get_res(outline, res, crsUnits) 7. ├─terra::crs("EPSG:32601") 8. └─terra::crs("EPSG:32601") 9. └─terra (local) .local(x, ...) 10. ├─terra::rast(crs = x) 11. └─terra::rast(crs = x) 12. └─terra (local) .local(x = x, ...) 13. └─terra:::new_rast(...) 14. └─terra:::messages(r, "rast") 15. └─terra:::error(f, x@pntr$getError()) ── Error ('test-interpBathy.R:51:3'): interpBathy output check ───────────────── Error: [rast] empty srs Backtrace: ▆ 1. ├─testthat::expect_s4_class(...) at test-interpBathy.R:51:3 2. │ └─testthat::quasi_label(enquo(object)) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─rLakeHabitat::interpBathy(...) 5. └─rLakeHabitat (local) get_res(outline, res, crsUnits) 6. ├─terra::crs("EPSG:32601") 7. └─terra::crs("EPSG:32601") 8. └─terra (local) .local(x, ...) 9. ├─terra::rast(crs = x) 10. └─terra::rast(crs = x) 11. └─terra (local) .local(x = x, ...) 12. └─terra:::new_rast(...) 13. └─terra:::messages(r, "rast") 14. └─terra:::error(f, x@pntr$getError()) ── Error ('test-rarify.R:32:3'): rarify output check ─────────────────────────── Error: [rast] empty srs Backtrace: ▆ 1. ├─testthat::expect_s3_class(...) at test-rarify.R:32:3 2. │ └─testthat::quasi_label(enquo(object)) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─rLakeHabitat::rarify(hull, dat, "x", "y", "z", res = 100) 5. └─rLakeHabitat (local) get_res(outline, res, crsUnits) 6. ├─terra::crs("EPSG:32601") 7. └─terra::crs("EPSG:32601") 8. └─terra (local) .local(x, ...) 9. ├─terra::rast(crs = x) 10. └─terra::rast(crs = x) 11. └─terra (local) .local(x = x, ...) 12. └─terra:::new_rast(...) 13. └─terra:::messages(r, "rast") 14. └─terra:::error(f, x@pntr$getError()) [ FAIL 3 | WARN 9 | SKIP 0 | PASS 209 ] Error: ! Test failures. 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.