diff --git a/R/data_arrange.R b/R/data_arrange.R index 1125e1d19..a5745d0c5 100644 --- a/R/data_arrange.R +++ b/R/data_arrange.R @@ -70,7 +70,7 @@ data_arrange.grouped_df <- function(data, select = NULL, by = NULL, safe = TRUE, by <- colnames(group_variables) } # remember attributes - info <- attributes(x) + info <- attributes(data) out <- data_arrange.default(data = data, select = select, by = by, safe = safe, ...) # set back class, so data frame still works with dplyr