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

gather_ no longer supports spaces in key_col #361

Closed
mkoohafkan opened this issue Sep 11, 2017 · 3 comments
Closed

gather_ no longer supports spaces in key_col #361

mkoohafkan opened this issue Sep 11, 2017 · 3 comments

Comments

@mkoohafkan
Copy link

@mkoohafkan mkoohafkan commented Sep 11, 2017

sample code:

d = data_frame(a = 1:10, b = letters[1:10], c = sample(LETTERS, 10))
gather_(d, "the variable", "the result")

This worked just fine until version 0.71

@lionel-
Copy link
Member

@lionel- lionel- commented Sep 12, 2017

I can't reproduce. Could you post your devtools::session_info() after loading tidyr from a fresh session please?

@lionel-
Copy link
Member

@lionel- lionel- commented Sep 12, 2017

Scratch that, I can reproduce.

@lionel- lionel- closed this in 9084372 Sep 12, 2017
@lionel-
Copy link
Member

@lionel- lionel- commented Sep 12, 2017

That's because the SE versions are inconsistent in the way they treat non syntactic names. For example nest_() supports them but not unnest_(). If you find more discrepancies with pre-tidy eval versions, please let us know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants