CRAN Package Check Results for Package rLakeHabitat

Last updated on 2025-05-16 05:49:18 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0.0 33.78 294.69 328.47 OK
r-devel-linux-x86_64-debian-gcc 1.0.0 20.06 189.08 209.14 OK
r-devel-linux-x86_64-fedora-clang 1.0.0 512.35 OK
r-devel-linux-x86_64-fedora-gcc 1.0.0 528.49 OK
r-devel-windows-x86_64 1.0.0 28.00 230.00 258.00 ERROR
r-patched-linux-x86_64 1.0.0 28.77 277.35 306.12 OK
r-release-linux-x86_64 1.0.0 31.84 275.89 307.73 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 30.00 225.00 255.00 OK
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 305.00 345.00 OK

Check Details

Version: 1.0.0
Check: tests
Result: ERROR Running 'testthat.R' [25s] 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] [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-devel-windows-x86_64