We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
date <- fabletools:::agg_vec(Sys.Date() + 0:1) date[2] <- fabletools:::agg_vec(NA, TRUE) #> Error in as.Date.numeric(value): 'origin' must be supplied
Created on 2020-06-24 by the reprex package (v0.3.0)
The text was updated successfully, but these errors were encountered:
The issue is from the handling of NA within agg_vec.
agg_vec
as.Date(NA_real_) #> Error in as.Date.numeric(NA_real_): 'origin' must be supplied as.Date(NA) #> [1] NA
Sorry, something went wrong.
Which is from rep_len() dropping classes:
rep_len()
rep_len(Sys.Date(), 3) #> [1] 18437 18437 18437
2eaf7d6
mitchelloharawild
No branches or pull requests
Created on 2020-06-24 by the reprex package (v0.3.0)
The text was updated successfully, but these errors were encountered: