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

Support .keep, .before, and .after in mutate() #802

Merged
merged 8 commits into from
Apr 1, 2022
Merged

Conversation

mgirlich
Copy link
Collaborator

@mgirlich mgirlich commented Mar 24, 2022

Fixes #670.

This PR replaces nest_vars() by a function that returns a list of layers. Unlike in #671 the order of variables is not changed. I still think it might be worth doing so, but then in a different PR.
Thanks to the layers most of the code to support .keep, .before, and .after could be copied from dplyr.

@mgirlich mgirlich changed the title Use layers in mutate() Support .keep, .before, and .after in mutate() Mar 24, 2022
@mgirlich mgirlich merged commit 36b0d84 into main Apr 1, 2022
@mgirlich mgirlich deleted the mutate-eval-loop branch April 1, 2022 05:01
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.

transmute() discards groups
2 participants