Closed kevinykuo closed 7 years ago
Seems to be sensitive to index scaling, i.e. if we write ind = 1:n / 1000
it works OK...
Better MRE:
rnorm(9991) %>% ts %>% auto.arima %>% forecast(h=10)
@robjhyndman The issue source is from the forecast time column formatting (forecast.R#142):
as.double(10001) %>% format(digits=0)
For numbers with more than 5 digits, it converts to scientific notation (which is truncated, and no longer unique). We can extend the allowable digits, or convert it to a count starting from 1... There might also be a way to force data.frame to accept duplicate row names (however this is probably hack-y and will cause other data.frame issues).
traceback()
says something is wrong with theprint()
call.