{"action":"closed","issue":{"url":"https://api.github.com/repos/hadley/dplyr/issues/1301","labels_url":"https://api.github.com/repos/hadley/dplyr/issues/1301/labels{/name}","comments_url":"https://api.github.com/repos/hadley/dplyr/issues/1301/comments","events_url":"https://api.github.com/repos/hadley/dplyr/issues/1301/events","html_url":"https://github.com/hadley/dplyr/issues/1301","id":99067958,"number":1301,"title":"group_by doesn't create one group for NAs","user":{"login":"kykuo","id":5582151,"avatar_url":"https://avatars.githubusercontent.com/u/5582151?v=3","gravatar_id":"","url":"https://api.github.com/users/kykuo","html_url":"https://github.com/kykuo","followers_url":"https://api.github.com/users/kykuo/followers","following_url":"https://api.github.com/users/kykuo/following{/other_user}","gists_url":"https://api.github.com/users/kykuo/gists{/gist_id}","starred_url":"https://api.github.com/users/kykuo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kykuo/subscriptions","organizations_url":"https://api.github.com/users/kykuo/orgs","repos_url":"https://api.github.com/users/kykuo/repos","events_url":"https://api.github.com/users/kykuo/events{/privacy}","received_events_url":"https://api.github.com/users/kykuo/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-04T21:38:49Z","updated_at":"2015-08-09T12:39:47Z","closed_at":"2015-08-09T12:39:47Z","body":"Reproducible example below, may be related to https://github.com/hadley/dplyr/issues/401 ?\r\n\r\n```\r\ndf <- structure(list(x = c(NA_character_, NA_character_), \r\n                     y = c(0L, 0L)), class = \"data.frame\", \r\n                .Names = c(\"x\", \"y\"), row.names = c(NA, -2L))\r\ndf %>%\r\n  group_by(x, y) %>%\r\n  summarize(count = n())\r\n# Source: local data frame [2 x 3]\r\n# Groups: x\r\n# \r\n# x y count\r\n# 1 NA 0     1\r\n# 2 NA 0     1\r\n```"}}