Last updated on 2026-03-19 08:53:53 CET.
| Package | ERROR | OK |
|---|---|---|
| cycleTrendR | 1 | 13 |
| rareflow | 14 |
Current CRAN status: ERROR: 1, OK: 13
Version: 0.3.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [6s/8s]
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(cycleTrendR)
>
> test_check("cycleTrendR")
Using original scale.
Regular time index: STL (if dates_type='date') + LOESS/GAM(M)
Auto seasonality: dominant period approx 50.00 samples -> seasonalfrequency=50
loess.as proposed span (criterion=aicc) = 0.922
Saving _problems/test-dates_type-10.R
Using original scale.
Regular time index: STL (if dates_type='date') + LOESS/GAM(M)
No STL/seasonality for dates_type != 'date'.
Using original scale.
Regular time index: STL (if dates_type='date') + LOESS/GAM(M)
No STL/seasonality for dates_type != 'date'.
loess.as proposed span (criterion=aicc) = 0.947
[ FAIL 1 | WARN 4 | SKIP 0 | PASS 6 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-dates_type.R:5:3'): adaptive_cycle_trend_analysis works with dates_type = 'date' ──
Error in `stats::stl(tsdata, s.window = "periodic", robust = stlrobust)`: series is not periodic or has less than two periods
Backtrace:
▆
1. └─cycleTrendR::adaptive_cycle_trend_analysis(...) at test-dates_type.R:5:3
2. └─stats::stl(tsdata, s.window = "periodic", robust = stlrobust)
[ FAIL 1 | WARN 4 | SKIP 0 | PASS 6 ]
Error:
! Test failures.
Execution halted
Flavor: r-patched-linux-x86_64
Current CRAN status: OK: 14