Skip to content

Commit f2468c7

Browse files
committed
also data_unique
1 parent e8f8376 commit f2468c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/data_unique.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ data_unique.grouped_df <- function(data,
122122
grps <- attr(data, "groups", exact = TRUE)
123123
grps <- grps[[".rows"]]
124124

125-
data2 <- data_ungroup(data)
125+
data2 <- as.data.frame(data_ungroup(data))
126126

127127
out <- lapply(grps, function(x) {
128128
data_unique.data.frame(data2[x, ], select = select, keep = keep, verbose = verbose)

0 commit comments

Comments
 (0)