Error in forecast::auto.arima(x, level = 0.95) :
No suitable ARIMA model found
I haven't dug into this carefully, but it looks like the problem might live in myarima:
My theory is that stats::arima throws an unused argument error, which is caught with try. The unused argument error never gets passed to the user, who only sees a generic "no suitable model" error.
If this is the case, it seems like auto.arima could give much more informative error messages simply by passing along any exceptions from stats::arima.
I ran into this problem when I typed something like
which throws this error:
I haven't dug into this carefully, but it looks like the problem might live in
myarima
:My theory is that
stats::arima
throws anunused argument
error, which is caught withtry
. Theunused argument
error never gets passed to the user, who only sees a generic "no suitable model" error.If this is the case, it seems like
auto.arima
could give much more informative error messages simply by passing along any exceptions fromstats::arima
.