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

group_by: if using an expression, new column name cannot be "x" #534

Closed
Mullefa opened this issue Aug 12, 2014 · 1 comment
Closed

group_by: if using an expression, new column name cannot be "x" #534

Mullefa opened this issue Aug 12, 2014 · 1 comment
Assignees
Labels
feature a feature request or enhancement
Milestone

Comments

@Mullefa
Copy link

Mullefa commented Aug 12, 2014

For example:

# example in documentation
group_by(mtcars, vsam = vs + am)

# doesn't work with x
group_by(mtcars, x = vs + am)

This is presumably down to group_by and/or regroup having x as their first argument?!

@kevinushey
Copy link
Contributor

Perhaps the argument name should be .data, thereby matching the signature of filter, summarise etc?

@hadley hadley added this to the 0.3 milestone Aug 26, 2014
@hadley hadley self-assigned this Aug 26, 2014
@hadley hadley closed this as completed in 20768a5 Aug 27, 2014
@lock lock bot locked as resolved and limited conversation to collaborators Jun 10, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature a feature request or enhancement
Projects
None yet
Development

No branches or pull requests

3 participants