CRAN Package Check Results for Package rLakeHabitat

Last updated on 2025-07-05 10:49:32 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0.0 34.15 296.31 330.46 OK
r-devel-linux-x86_64-debian-gcc 1.0.0 19.43 186.57 206.00 OK
r-devel-linux-x86_64-fedora-clang 1.0.0 511.41 OK
r-devel-linux-x86_64-fedora-gcc 1.0.0 496.49 OK
r-devel-windows-x86_64 1.0.0 28.00 227.00 255.00 OK
r-patched-linux-x86_64 1.0.0 32.08 278.33 310.41 OK
r-release-linux-x86_64 1.0.0 28.99 276.80 305.79 OK
r-release-macos-arm64 1.0.0 106.00 OK
r-release-macos-x86_64 1.0.0 237.00 OK
r-release-windows-x86_64 1.0.0 27.00 234.00 261.00 ERROR
r-oldrel-macos-arm64 1.0.0 116.00 OK
r-oldrel-macos-x86_64 1.0.0 231.00 OK
r-oldrel-windows-x86_64 1.0.0 40.00 317.00 357.00 OK

Additional issues

donttest

Check Details

Version: 1.0.0
Check: tests
Result: ERROR Running 'testthat.R' [24s] 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") [inverse distance weighted interpolation] [inverse distance weighted interpolation] [inverse distance weighted interpolation] [inverse distance weighted interpolation] [inverse distance weighted interpolation] [inverse distance weighted interpolation] [inverse distance weighted interpolation] [inverse distance weighted interpolation] [using ordinary kriging] [using ordinary kriging] [using ordinary kriging] [using ordinary kriging] [ FAIL 1 | WARN 3 | SKIP 0 | PASS 212 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-crossValidate.R:52:3'): crossValidate output check ───────────── Error in `interpBathy(outline, trainDat, x = x, y = y, z = z, zeros = zeros, separation = separation, crsUnits = crsUnits, res = res, fact = fact, method = method, nmax = nmax, idp = idp, model = model, psill = psill, range = range, nugget = nugget, kappa = kappa)`: nmax cannot exceed number of observations in df Backtrace: ▆ 1. ├─testthat::expect_equal(...) at test-crossValidate.R:52:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─rLakeHabitat::crossValidate(...) 5. └─rLakeHabitat::interpBathy(...) [ FAIL 1 | WARN 3 | SKIP 0 | PASS 212 ] Error: Test failures Execution halted Flavor: r-release-windows-x86_64