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
as.period() consistently seems to fail on intervals containing a leap day as the start day if the required unit is "year". Example:
as.period(interval(as.POSIXct("2008-02-29"), as.POSIXct("2013-01-31")), unit = "year")
The text was updated successfully, but these errors were encountered:
I just stumbled across this bug as well. Not pretty.
> (ymd("1996-02-29") %--% ymd("2011-11-20")) %/% years(1) Error in while (any(start + est * per > end)) est[start + est * per > : missing value where TRUE/FALSE needed
Sorry, something went wrong.
Fixed in 960a434 [#284].
No branches or pull requests
as.period() consistently seems to fail on intervals containing a leap day as the start day if the required unit is "year". Example:
as.period(interval(as.POSIXct("2008-02-29"), as.POSIXct("2013-01-31")), unit = "year")
The text was updated successfully, but these errors were encountered: