New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error in as.POSIXlt.numeric(x, tz = tz(x)) : 'origin' must be supplied #51
Comments
@MislavSag You should be good to go now. I was able to get your code running. You'll have to reinstall and restart R to get it going. |
Now it returns:
Sample:
|
@MislavSag Alright... I fixed the issue. Had to wrap a few tryCatch's around a few more of the forecast:: functions. The problem was that if any of those failed it caused the function to fail. Hasn't been an issue till now. Nonetheless, it should be good to go! |
I am still geting the same error after installing the package again. |
@MislavSag I'm not sure how you setup AutoTS to run, but this is working for me.
|
@AdrianAntico , doesn't work with this data:
It is an irregular 1 minute data, maybe that's the problem? |
@MislavSag I made another change and it should run for the data above that you posted. |
@AdrianAntico , now I get the following error (message):
I can't send you data because it has around 4200 rows. Maybe I can send you via email? |
I would start with sharing the setup of the function... First I need to see if the TimeUnit you supplied is correct and if it is, then I'd need to see if there is anything wrong with the data. If nothing is wrong with the data, then it has to be something about converting the data to a time series object... Feel free to email me though: adrianantico@gmail.com |
Data:
If I try
AutoTs
fucntion:I get error
Error in as.POSIXlt.numeric(x, tz = tz(x)) : 'origin' must be supplied
I tried to set origin but doesn't help:
data$date <- as.POSIXct(data$date, format='%Y-%m-%d %H:%M:%S', origin='1970-01-01 00:00.00 UTC', tzone='GMT')
The text was updated successfully, but these errors were encountered: