- using R Under development (unstable) (2026-03-27 r89731)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
clang version 22.1.2 (https://github.com/llvm/llvm-project 1ab49a973e210e97d61e5db6557180dcb92c3e98)
flang version 22.1.2 (https://github.com/llvm/llvm-project 1ab49a973e210e97d61e5db6557180dcb92c3e98)
- running under: Fedora Linux 42 (Workstation Edition)
- using session charset: UTF-8
* current time: 2026-03-29 02:10:35 UTC
- using option ‘--no-stop-on-test-error’
- checking for file ‘forecast/DESCRIPTION’ ... OK
- this is package ‘forecast’ version ‘9.0.2’
- 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 ‘forecast’ can be installed ... [162s/152s] OK
See the install log for details.
- used C compiler: ‘clang version 22.1.2 (https://github.com/llvm/llvm-project 1ab49a973e210e97d61e5db6557180dcb92c3e98)’
- used C++ compiler: ‘clang version 22.1.2 (https://github.com/llvm/llvm-project 1ab49a973e210e97d61e5db6557180dcb92c3e98)’
- 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 whether startup messages can be suppressed ... 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 ... [102s/128s] OK
- checking Rd files ... OK
- checking Rd metadata ... OK
- checking Rd line widths ... 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 contents of ‘data’ directory ... OK
- checking data for non-ASCII characters ... OK
- checking LazyData ... OK
- checking data for ASCII and uncompressed saves ... OK
- checking line endings in C/C++/Fortran sources/headers ... OK
- checking line endings in Makefiles ... OK
- checking compilation flags in Makevars ... OK
- checking for GNU extensions in Makefiles ... OK
- checking for portable use of $(BLAS_LIBS) and $(LAPACK_LIBS) ... OK
- checking use of PKG_*FLAGS in Makefiles ... OK
- checking use of SHLIB_OPENMP_*FLAGS in Makefiles ... OK
- checking pragmas in C/C++ headers and code ... OK
- checking compilation flags used ... OK
- checking compiled code ... NOTE
File ‘forecast/libs/forecast.so’:
Found non-API call to R: ‘R_UnboundValue’
Compiled code should not call non-API entry points in R.
See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual,
and section ‘Moving into C API compliance’ for issues with the use of
non-API entry points.
- checking sizes of PDF files under ‘inst/doc’ ... OK
- checking installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [80s/102s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [10m/12m] ERROR
Running ‘testthat.R’ [10m/12m]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(forecast)
>
> test_check("forecast")
Ljung-Box test
data: Residuals from ETS(A,Ad,N)
Q* = 28.995, df = 10, p-value = 0.001249
Model df: 0. Total lags used: 10
Ljung-Box test
data: Residuals from ETS(A,Ad,N)
Q* = 20.716, df = 5, p-value = 0.0009163
Model df: 0. Total lags used: 5
Ljung-Box test
data: Residuals from ETS(A,Ad,N)
Q* = 28.995, df = 10, p-value = 0.001249
Model df: 0. Total lags used: 10
Ljung-Box test
data: Residuals from ARIMA(1,1,0)
Q* = 27.445, df = 9, p-value = 0.00118
Model df: 1. Total lags used: 10
Ljung-Box test
data: Residuals from BATS
Q* = 9.7406, df = 10, p-value = 0.4635
Model df: 0. Total lags used: 10
Ljung-Box test
data: Residuals from Lag walk
Q* = 89.288, df = 10, p-value = 7.438e-15
Model df: 0. Total lags used: 10
Saving _problems/test-clean-10.R
Saving _problems/test-clean-20.R
Saving _problems/test-clean-23.R
Saving _problems/test-clean-27.R
Saving _problems/test-season-91.R
[ FAIL 5 | WARN 0 | SKIP 1 | PASS 859 ]
══ Skipped tests (1) ═══════════════════════════════════════════════════════════
• On CRAN (1): 'test-bats.R:16:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-clean.R:10:3'): tests for na.interp ──────────────────────────
Expected `na.interp(testseries_miss)` to equal `testseries`.
Differences:
actual | expected
[1] 0.966281969 - 1.000000000 [1]
[2] 2.000000000 | 2.000000000 [2]
[3] 3.003438334 - 3.000000000 [3]
[4] 4.000000000 | 4.000000000 [4]
[5] 5.000000000 | 5.000000000 [5]
[6] 6.000000000 | 6.000000000 [6]
── Failure ('test-clean.R:20:3'): tests for tsclean ────────────────────────────
Expected `tsclean(testseries_miss)` to equal `testseries`.
Differences:
actual | expected
[1] 0.910342599 - 1.000000000 [1]
[2] 1.944060630 - 2.000000000 [2]
[3] 2.975468649 - 3.000000000 [3]
[4] 4.000000000 | 4.000000000 [4]
[5] 5.000000000 | 5.000000000 [5]
[6] 6.000000000 | 6.000000000 [6]
── Failure ('test-clean.R:23:3'): tests for tsclean ────────────────────────────
Expected `tsclean(testseries_miss)` to equal `testseries`.
Differences:
actual | expected
[1] 0.910342599 - 1.000000000 [1]
[2] 1.952702313 - 2.000000000 [2]
[3] 2.975468649 - 3.000000000 [3]
[4] 4.003521287 - 4.000000000 [4]
[5] 5.000000000 | 5.000000000 [5]
[6] 6.000000000 | 6.000000000 [6]
[7] 7.000000000 | 7.000000000 [7]
actual | expected
[11] 4.000000000 | 4.000000000 [11]
[12] 5.000000000 | 5.000000000 [12]
[13] 6.000000000 | 6.000000000 [13]
[14] 7.010502174 - 7.000000000 [14]
[15] 1.000000000 | 1.000000000 [15]
[16] 2.000000000 | 2.000000000 [16]
[17] 3.000000000 | 3.000000000 [17]
── Failure ('test-clean.R:24:3'): tests for tsclean ────────────────────────────
Expected `testseries_miss` to equal `tsclean(testseries_miss, replace.missing = FALSE)`.
Differences:
`actual[1:6]`: 1.000000000 NA 3.000000000 NA 5.000000000 6.000000000
`expected[1:6]`: 0.910342599 NA 2.975468649 NA 5.000000000 6.000000000
── Failure ('test-season.R:91:3'): tests for stlf ──────────────────────────────
Expected `c(stlf(y)$mean)` to equal `rep(1:7, 2)`.
Differences:
actual | expected
[1] 0.9809 - 1.0000 [1]
[2] 1.9828 - 2.0000 [2]
[3] 2.9846 - 3.0000 [3]
[4] 3.9864 - 4.0000 [4]
[5] 4.9884 - 5.0000 [5]
[6] 5.9901 - 6.0000 [6]
[7] 6.9920 - 7.0000 [7]
[8] 0.9742 - 1.0000 [8]
[9] 1.9772 - 2.0000 [9]
[10] 2.9800 - 3.0000 [10]
... ... ... and 4 more ...
[ FAIL 5 | WARN 0 | SKIP 1 | PASS 859 ]
Error:
! Test failures.
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [33s/39s] OK
- checking PDF version of manual ... [17s/22s] OK
- checking HTML version of manual ... [20s/26s] OK
- checking for non-standard things in the check directory ... OK
- checking for detritus in the temp directory ... OK
- DONE
Status: 1 ERROR, 1 NOTE