forecast
Forecasting Functions for Time Series and Linear Models
v9.0.2
·
Mar 17, 2026
·
GPL-3
Description
Methods and tools for displaying and analysing univariate time series forecasts including exponential smoothing via state space models and automatic ARIMA modelling.
Downloads
492.1K
Last 30 days
124th
1.4M
Last 90 days
3.1M
Last year
Trend: +7.5% (30d vs prior 30d)
CRAN Check Status
1
ERROR
6
NOTE
7
OK
Show all 14 flavors
| Flavor | Status |
|---|---|
| r-devel-linux-x86_64-debian-clang | NOTE |
| r-devel-linux-x86_64-debian-gcc | NOTE |
| r-devel-linux-x86_64-fedora-clang | ERROR |
| r-devel-linux-x86_64-fedora-gcc | OK |
| r-devel-macos-arm64 | OK |
| r-devel-windows-x86_64 | NOTE |
| r-oldrel-macos-arm64 | NOTE |
| r-oldrel-macos-x86_64 | NOTE |
| r-oldrel-windows-x86_64 | OK |
| r-patched-linux-x86_64 | NOTE |
| r-release-linux-x86_64 | OK |
| r-release-macos-arm64 | OK |
| r-release-macos-x86_64 | OK |
| r-release-windows-x86_64 | OK |
Check details (7 non-OK)
NOTE
r-devel-linux-x86_64-debian-clang
compiled code
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.
NOTE
r-devel-linux-x86_64-debian-gcc
compiled code
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.
ERROR
r-devel-linux-x86_64-fedora-clang
tests
Running ‘testthat.R’ [11m/42m]
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
Mod
...[truncated]...
───────────────────
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
NOTE
r-devel-windows-x86_64
compiled code
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.
NOTE
r-oldrel-macos-arm64
installed package size
installed size is 5.2Mb
sub-directories of 1Mb or more:
libs 3.6Mb
NOTE
r-oldrel-macos-x86_64
installed package size
installed size is 5.3Mb
sub-directories of 1Mb or more:
libs 3.6Mb
NOTE
r-patched-linux-x86_64
compiled code
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.
Check History
ERROR 11 OK · 2 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Mar 10, 2026
ERROR
r-devel-linux-x86_64-fedora-clang
tests
Running ‘testthat.R’ [9m/20m]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(forecast)
>
> test_check("forecast")
Saving _problems/test-clean-10.R
Saving _problems/test-clean-20.R
Saving
...[truncated]...
8] 0.9742 - 1.0000 [8]
[9] 1.9772 - 2.0000 [9]
[10] 2.9800 - 3.0000 [10]
... ... ... and 4 more ...
[ FAIL 3 | WARN 0 | SKIP 1 | PASS 824 ]
Error:
! Test failures.
Execution halted
NOTE
r-oldrel-macos-arm64
installed package size
installed size is 5.2Mb
sub-directories of 1Mb or more:
libs 3.5Mb
NOTE
r-oldrel-macos-x86_64
installed package size
installed size is 5.3Mb
sub-directories of 1Mb or more:
libs 3.6Mb
Reverse Dependencies (209)
depends
imports
ACV
AEDForecasting
AFR
ATAforecasting
AriGaMyANNSVR
AutoAds
BETS
BrazilCrime
CEEMDANML
CausalMBSTS
ConsReg
CvmortalityMult
EEMDelm
EQUALrepeat
EWSmethods
EXPAR
EXPARMA
EcoMetrics
ForeComp
HDTSA
InterNL
KarsTS
MSGARCHelm
MortalityGaps
OBL
PH1XBAR
PortalHacienda
RcmdrPlugin.RiskDemo
ReSurv
SBAGM
ScottKnottESD
TCIU
TSANN
TSF
TSPred
TSstudio
Tcomp
Tushare
VMDML
WRTDStidal
WaveST
WaveletANN
WaveletArima
WaveletETS
WaveletGARCH
WaveletML
WaveletRF
WaveletSVR
actfts
armaOptions
autoTS
autostsm
bayesforecast
betaARMA
beyondWhittle
bfast
bmgarch
boiwsa
bridgr
caretForecast
chopper
clmplus
coconots
compIndexBuilder
conformalForecast
cricketr
decompML
decomposedPSF
demofit
dendRoAnalyst
doBy
dsa
ecorisk
eemdARIMA
eemdTDNN
epicasting
estadistica
fDMA
forecastLSW
forecasteR
fpp2
fracARMA
globaltrends
gratis
grattan
harbinger
hpiR
hybridts
iClick
imputeTS
imputeTestbench
its.analysis
knnp
kssa
lfl
lineartestr
matman
midasr
modeltime
narfima
netseer
ngboostForecast
nnfor
nortsTest
outliers.ts.oga
paramsim
popstudy
portalr
portes
predtoolsTS
rcrimeanalysis
seastests
seer
shinyTempSignal
spduration
stR
stlARIMA
stlELM
stlTDNN
sweep
timetk
toscca
trendtestR
tsBSS
tsDyn
tsSelect
tsaux
tsfeatures
tsforecast
tsoutliers
tspredit
tssim
tsutils
tsviz
tswge
ubair
uotm
utsf
vmdTDNN
wired
suggests
AER
COINT
FinanceGraphs
GACE
ICompELM
MARSS
PSF
Rbearcat
bayesRecon
corset
dlookr
dplR
epimdr
epimdr2
equatiomatic
fChange
fable
fableCount
flap
fracdiff
ggfortify
healthyR.ts
highcharter
htsDegenerateR
iForecast
ivx
lazybar
lifecontingencies
mFilter
mlr
nullabor
origami
pander
performance
pmml
rainbow
riem
sarima
setartree
shapr
tactile
trajectories
tsbox
vctsfr
Dependency Network
Version History
new
9.0.1
Mar 10, 2026