Closed mgacc0 closed 7 years ago
Would you consider using the lubridate::ymd
function because it warns appropriately?
as.Date("2000-01-151")
# [1] "2000-01-15"
lubridate::ymd("2000-01-151")
# [1] NA
# Warning message:
# All formats failed to parse. No formats found.
No it wasn't intentional, it was just to late in the morning probably. Thx.
I'm not sure if there is an error or if it's intentional.