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

arrange fails on data frame with zero rows #289

Closed
joranE opened this issue Feb 27, 2014 · 0 comments
Closed

arrange fails on data frame with zero rows #289

joranE opened this issue Feb 27, 2014 · 0 comments
Assignees
Labels
Milestone

Comments

@joranE
Copy link
Contributor

@joranE joranE commented Feb 27, 2014

Example using v0.1.2:

> d <- data.frame(a = numeric(0))
> dplyr::arrange(d,a)
Error: upper value must be greater than lower value

plyr::arrange simply returns the empty data frame, which is what I expected to happen.

@hadley hadley added the bug label Mar 17, 2014
@hadley hadley added this to the v0.2 milestone Mar 17, 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
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants