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

Convert to vectors before calling case_when() #234

Merged
merged 1 commit into from
Dec 12, 2022

Conversation

DavisVaughan
Copy link
Contributor

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

  • case_when() now uses vctrs, which generally makes it more generic when working with different data types. In huxtable it looks like you had logical matrices on the LHS of the case_when(), but those really weren't intended to be allowed and are now an error. It looks like you can just convert to vector and then redim afterwards, so that's what I've done here.

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 in ahead of time! Thanks!

@hughjonesd hughjonesd merged commit 7c342c9 into hughjonesd:master Dec 12, 2022
@hughjonesd
Copy link
Owner

Thanks!

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