Skip to content

regroup errors on zero-row data frames #486

@wch

Description

@wch

This causes problems for zero-row data in ggvis:

dplyr::regroup(data.frame(a = numeric(0), g = character(0)), list(quote(g)))
# Error: upper value must be greater than lower value

# Slightly closer to the source of the problem:
dplyr:::grouped_df_impl(data.frame(a = numeric(0), g = character(0)), list(quote(g)), drop = TRUE)

Metadata

Metadata

Labels

bugan unexpected problem or unintended behavior

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions