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

tidy_dir reformats !! to !(!()) #75

Closed
phaverty opened this issue Dec 6, 2017 · 4 comments
Closed

tidy_dir reformats !! to !(!()) #75

phaverty opened this issue Dec 6, 2017 · 4 comments

Comments

@phaverty
Copy link

phaverty commented Dec 6, 2017

This happens when you use the new dplyr syntax !!(x) to un-enquo something.

yihui added a commit to yihui/yihui.org that referenced this issue Dec 7, 2017
yihui added a commit that referenced this issue Dec 7, 2017
@yihui
Copy link
Owner

yihui commented Dec 7, 2017

My reply would be the same as in #53... Please read Section 6 in the doc: https://yihui.name/formatr/

@phaverty
Copy link
Author

phaverty commented Dec 7, 2017

Oh, yes, I see that this is a known issue. I like tidy_* much more than enquo, so I just refactored to avoid enquo / !!

@yihui
Copy link
Owner

yihui commented Dec 7, 2017

Haha, thanks!

@yihui
Copy link
Owner

yihui commented Dec 22, 2022

I'm not sure when base R made the change, but !! does work with formatR and the latest version of R now.

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

No branches or pull requests

2 participants