Last updated on 2024-05-21 18:50:08 CEST.
Package | ERROR | NOTE |
---|---|---|
cvmdisc | 1 | 11 |
Current CRAN status: ERROR: 1, NOTE: 11
Version: 0.1.0
Check: LazyData
Result: NOTE
'LazyData' is specified without a 'data' directory
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64, r-patched-linux-x86_64, r-release-linux-x86_64, r-release-macos-arm64, r-release-windows-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64
Version: 0.1.0
Check: tests
Result: ERROR
Running 'testthat.R' [5s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(cvmdisc)
Loading required package: stats4
Loading required package: CompQuadForm
>
> test_check("cvmdisc")
[1] "Parameter 'N' must be numeric."
[1] "Paraneter 'N' must be a positive integer."
[ FAIL 1 | WARN 16 | SKIP 0 | PASS 32 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test_groupFit.R:36:5'): Bootstrap ───────────────────────────────────
Error in `optim(start, f, method = method, hessian = TRUE, ...)`: non-finite finite-difference value [2]
Backtrace:
▆
1. └─cvmdisc::groupFit(...) at test_groupFit.R:36:5
2. ├─base::matrix(...)
3. └─base::apply(...)
4. └─cvmdisc (local) FUN(newX[, i], ...)
5. └─cvmdisc::distrFit(bootbreaks, y, distr, initials = hats)
6. └─stats4::mle(ll_norm, start = list(a = start[1], b = log(start[2])))
7. └─stats::optim(start, f, method = method, hessian = TRUE, ...)
[ FAIL 1 | WARN 16 | SKIP 0 | PASS 32 ]
Error: Test failures
Execution halted
Flavor: r-devel-windows-x86_64