Skip to content
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

Warning when using parse_iso_8601() on a vector containing YYYY dates as well as other formats. #36

Open
Esbilon opened this issue Mar 11, 2022 · 0 comments · May be fixed by #43
Open
Labels

Comments

@Esbilon
Copy link

Esbilon commented Mar 11, 2022

What it says on the tin.
parse_iso_8601(c("2020-03", "2020"))
yields the following warning:
Warning message: In NextMethod(.Generic) : number of items to replace is not a multiple of replacement length

The same does not happen if the vector contains only YYYY dates or no YYYY dates. I've only tried with YYYY, YYYY-mm, YYYY-mm-dd, so presumably others may also cause the same warning.

@billdenney billdenney linked a pull request Aug 3, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants