* using log directory ‘/Users/ripley/R/packages/tests-devel/cycleTrendR.Rcheck’ * using R Under development (unstable) (2026-03-08 r89575) * using platform: aarch64-apple-darwin25.3.0 * R was compiled by Apple clang version 21.0.0 (clang-2100.0.121.2) GNU Fortran (GCC) 14.2.0 * running under: macOS Tahoe 26.3.1 * using session charset: UTF-8 * current time: 2026-03-09 06:30:12 UTC * using option ‘--no-stop-on-test-error’ * checking for file ‘cycleTrendR/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘cycleTrendR’ version ‘0.3.0’ * package encoding: UTF-8 * checking package namespace information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for executable files ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking for sufficient/correct file permissions ... OK * checking whether package ‘cycleTrendR’ can be installed ... OK * checking installed package size ... OK * checking package directory ... OK * checking ‘build’ directory ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... OK * checking for left-over files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking code files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... OK * checking whether the package can be loaded with stated dependencies ... OK * checking whether the package can be unloaded cleanly ... OK * checking whether the namespace can be loaded with stated dependencies ... OK * checking whether the namespace can be unloaded cleanly ... OK * checking loading without being on the library search path ... OK * checking use of S3 registration ... OK * checking dependencies in R code ... OK * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... OK * checking Rd files ... OK * checking Rd metadata ... OK * checking Rd cross-references ... OK * checking for missing documentation entries ... OK * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... OK * checking Rd contents ... OK * checking for unstated dependencies in examples ... OK * checking installed files from ‘inst/doc’ ... OK * checking files in ‘vignettes’ ... OK * checking examples ... NONE * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... Running ‘testthat.R’ ERROR 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.928 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 * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [175s/179s] OK * checking PDF version of manual ... OK * checking HTML version of manual ... OK * checking for detritus in the temp directory ... OK * DONE Status: 1 ERROR See ‘/Users/ripley/R/packages/tests-devel/cycleTrendR.Rcheck/00check.log’ for details. 212.74 real 194.67 user 9.98 sys