CRAN Package Check Results for Package rLakeHabitat

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

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0.1 29.61 295.68 325.29 OK
r-devel-linux-x86_64-debian-gcc 1.0.1 19.63 194.44 214.07 OK
r-devel-linux-x86_64-fedora-clang 1.0.1 76.00 441.48 517.48 OK
r-devel-linux-x86_64-fedora-gcc 1.0.1 70.00 441.44 511.44 OK
r-devel-windows-x86_64 1.0.1 31.00 233.00 264.00 OK
r-patched-linux-x86_64 1.0.1 29.94 280.89 310.83 OK
r-release-linux-x86_64 1.0.1 31.73 281.28 313.01 OK
r-release-macos-arm64 1.0.1 OK
r-release-macos-x86_64 1.0.1 47.00 247.00 294.00 OK
r-release-windows-x86_64 1.0.1 29.00 229.00 258.00 OK
r-oldrel-macos-arm64 1.0.1 OK
r-oldrel-macos-x86_64 1.0.1 32.00 280.00 312.00 OK
r-oldrel-windows-x86_64 1.0.1 41.00 309.00 350.00 ERROR

Check Details

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