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() sorts NA first #4227

romainfrancois opened this issue Feb 26, 2019 · 1 comment

group_by() sorts NA first #4227

romainfrancois opened this issue Feb 26, 2019 · 1 comment


Copy link

library(dplyr, warn.conflicts = FALSE)

tbl <- tibble(
  x = c("apple", NA, "banana"), 
  y = 1:3
tbl %>% 
  group_by(x) %>% 
#> # A tibble: 3 x 2
#>   x      .rows    
#>   <chr>  <list>   
#> 1 <NA>   <int [1]>
#> 2 apple  <int [1]>
#> 3 banana <int [1]>

simplified from #4220

Copy link

lock bot commented Nov 30, 2019

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.

@lock lock bot locked and limited conversation to collaborators Nov 30, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
None yet
None yet

No branches or pull requests

1 participant