CRAN Package Check Results for Package forecast

Last updated on 2026-04-10 17:52:51 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 9.0.2 105.31 591.49 696.80 OK
r-devel-linux-x86_64-debian-gcc 9.0.2 71.51 383.34 454.85 OK
r-devel-linux-x86_64-fedora-clang 9.0.2 124.00 531.13 655.13 ERROR
r-devel-linux-x86_64-fedora-gcc 9.0.2 197.00 972.71 1169.71 OK
r-devel-macos-arm64 9.0.2 21.00 122.00 143.00 OK
r-devel-windows-x86_64 9.0.2 123.00 628.00 751.00 NOTE
r-patched-linux-x86_64 9.0.2 103.59 568.92 672.51 NOTE
r-release-linux-x86_64 9.0.2 83.39 563.21 646.60 OK
r-release-macos-arm64 9.0.2 19.00 124.00 143.00 OK
r-release-macos-x86_64 9.0.2 62.00 588.00 650.00 OK
r-release-windows-x86_64 9.0.2 107.00 605.00 712.00 OK
r-oldrel-macos-arm64 9.0.2 17.00 129.00 146.00 NOTE
r-oldrel-macos-x86_64 9.0.2 60.00 541.00 601.00 NOTE
r-oldrel-windows-x86_64 9.0.2 130.00 833.00 963.00 OK

Check Details

Version: 9.0.2
Check: tests
Result: ERROR Running ‘testthat.R’ [329s/331s] 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 Flavor: r-devel-linux-x86_64-fedora-clang

Version: 9.0.2
Check: compiled code
Result: NOTE File 'forecast/libs/x64/forecast.dll': 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. Flavor: r-devel-windows-x86_64

Version: 9.0.2
Check: compiled code
Result: 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. Flavor: r-patched-linux-x86_64

Version: 9.0.2
Check: installed package size
Result: NOTE installed size is 5.2Mb sub-directories of 1Mb or more: libs 3.6Mb Flavors: r-oldrel-macos-arm64, r-oldrel-macos-x86_64

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.