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

Specifically call na_if() on columns #2

Conversation

DavisVaughan
Copy link
Contributor

This PR makes your package compatible with the next version of dplyr:

na_if() now uses vctrs. It previously accidentally allowed you to apply it to an entire data frame at once, but this was never the actual intention of this function, it is meant to be applied to a single column at a time. Applying it to a data frame like this now errors, so I've updated your usage to correctly apply it to only your character columns.

We plan to submit dplyr 1.1.0 on January 27th.

This should be compatible with both dev and CRAN dplyr. It would help us out if you could go ahead and send a patch version of your package to CRAN ahead of time! Thanks!

@equitable-equations
Copy link
Owner

Thanks, Davis! Sounds like a logical change, even if there's some short-term pain.

@equitable-equations equitable-equations merged commit 3060223 into equitable-equations:main Jan 19, 2023
equitable-equations pushed a commit that referenced this pull request Apr 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants