Last updated on 2025-04-23 07:49:57 CEST.
Package | ERROR | NOTE | OK |
---|---|---|---|
BayesChange | 1 | 2 | 10 |
Current CRAN status: ERROR: 1, NOTE: 2, OK: 10
Version: 2.0.0
Check: tests
Result: ERROR
Running 'testthat.R' [3s]
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(BayesChange)
>
> test_check("BayesChange")
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 2 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-test-clust_cp.R:11:3'): clust_cp works ─────────────────────────
<std::logic_error/C++Error/error/condition>
Error: max(): object has no elements
Backtrace:
▆
1. └─BayesChange::clust_cp(...) at test-test-clust_cp.R:11:3
2. └─BayesChange::clust_cp_uni(...)
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 2 ]
Error: Test failures
Execution halted
Flavor: r-release-windows-x86_64
Version: 2.0.0
Check: installed package size
Result: NOTE
installed size is 6.7Mb
sub-directories of 1Mb or more:
libs 6.4Mb
Flavors: r-oldrel-macos-arm64, r-oldrel-macos-x86_64