Closed basjacobs93 closed 7 years ago
In the following snippet, an unwanted newline is printed by auto.arima
library(forecast) train <- ts(1:120, frequency = 52) train_ext <- ts(rep(0, 120), frequency = 52) try(stlm(train, lambda=0, method="arima", xreg = train_ext), silent = TRUE)
It is caused by cat("\n") in line 463 newarima2.R, right before stop("No suitable ARIMA model found"). Removing that line fixes the issue, but I am not sure if it is needed for anything else.
cat("\n")
newarima2.R
stop("No suitable ARIMA model found")
Thanks. Fixed in https://github.com/robjhyndman/forecast/commit/29db025df47f6b2866343bcfe52fdcd082408c54
In the following snippet, an unwanted newline is printed by auto.arima
It is caused by
cat("\n")
in line 463newarima2.R
, right beforestop("No suitable ARIMA model found")
. Removing that line fixes the issue, but I am not sure if it is needed for anything else.