Last updated on 2025-06-12 05:50:14 CEST.
Package | ERROR | OK |
---|---|---|
funcharts | 2 | 11 |
Current CRAN status: ERROR: 2, OK: 11
Version: 1.7.0
Check: tests
Result: ERROR
Running 'testthat.R' [41s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(funcharts)
Loading required package: robustbase
>
> test_check("funcharts")
[ FAIL 1 | WARN 0 | SKIP 1 | PASS 113 ]
══ Skipped tests (1) ═══════════════════════════════════════════════════════════
• On CRAN (1): 'test_FRTM.R:1:1'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test_AMFCC.R:38:1'): (code run outside of `test_that()`) ────────────
Error in `bw.SJ(x, method = "ste")`: sample is too sparse to find TD
Backtrace:
▆
1. └─funcharts::AMFCC_PhaseI(...) at test_AMFCC.R:38:1
2. └─funcharts:::get_CL(p_value_com_cont_rr[[rr]], 1/alpha_diagn)
3. ├─spatstat.univar::quantile.density(...)
4. │ └─base::stopifnot(inherits(x, "density"))
5. ├─stats::density(p_values_combined[[ww]], bw = "SJ")
6. └─stats::density.default(p_values_combined[[ww]], bw = "SJ")
7. └─stats::bw.SJ(x, method = "ste")
[ FAIL 1 | WARN 0 | SKIP 1 | PASS 113 ]
Error: Test failures
Execution halted
Flavor: r-devel-windows-x86_64
Version: 1.7.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [53s/67s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(funcharts)
Loading required package: robustbase
>
> test_check("funcharts")
[ FAIL 1 | WARN 0 | SKIP 1 | PASS 113 ]
══ Skipped tests (1) ═══════════════════════════════════════════════════════════
• On CRAN (1): 'test_FRTM.R:1:1'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test_AMFCC.R:38:1'): (code run outside of `test_that()`) ────────────
Error in `bw.SJ(x, method = "ste")`: sample is too sparse to find TD
Backtrace:
▆
1. └─funcharts::AMFCC_PhaseI(...) at test_AMFCC.R:38:1
2. └─funcharts:::get_CL(p_value_com_cont_rr[[rr]], 1/alpha_diagn)
3. ├─spatstat.univar::quantile.density(...)
4. │ └─base::stopifnot(inherits(x, "density"))
5. ├─stats::density(p_values_combined[[ww]], bw = "SJ")
6. └─stats::density.default(p_values_combined[[ww]], bw = "SJ")
7. └─stats::bw.SJ(x, method = "ste")
[ FAIL 1 | WARN 0 | SKIP 1 | PASS 113 ]
Error: Test failures
Execution halted
Flavor: r-patched-linux-x86_64