Last updated on 2026-05-10 12:51:39 CEST.
| Package | ERROR | OK |
|---|---|---|
| admtools | 13 | |
| stratcols | 13 | |
| StratPal | 1 | 12 |
Current CRAN status: OK: 13
Current CRAN status: OK: 13
Current CRAN status: ERROR: 1, OK: 12
Version: 0.7.1
Check: tests
Result: ERROR
Running ‘spelling.R’ [0s/0s]
Running ‘testthat.R’ [4s/5s]
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(StratPal)
>
> test_check("StratPal")
Saving _problems/test_apply_niche-5.R
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 109 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test_apply_niche.R:5:3'): for event type data, returns fewer events ──
Expected `length(apply_niche(x, niche_def = function(x) 0.5, gc = function(x) 1))` < `n`.
Actual comparison: 10.0 >= 10.0
Difference: 0.0 >= 0
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 109 ]
Error:
! Test failures.
Execution halted
Flavor: r-devel-linux-x86_64-debian-clang