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
rename fails when only 1 column is specified #3916
Comments
I was able to fix it by using |
This seems to be related to this line in tidy select: https://github.com/tidyverse/tidyselect/blob/0ea6d5488e423db5feafb8cbe86cee86897d7aca/R/vars-rename.R#L8 unquoted_chrs <- map_lgl(quos, quo_is_character, n = function(n) n > 1) |
This issue was moved by romainfrancois to tidyverse/tidyselect#79. |
This old issue has been automatically locked. If you believe you have found a related problem, please file a new issue (with reprex) and link to this issue. https://reprex.tidyverse.org/ |
When using rename with !! and strings it fails if only 1 column is used. However it is not a problem when unquoting symbols.
Created on 2018-10-16 by the reprex package (v0.2.1)
The text was updated successfully, but these errors were encountered: