Skip to content

Commit 7a4d9b5

Browse files
committed
avoid creating column name with uppercase characters (tidyverse#1601)
1 parent 5726930 commit 7a4d9b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/verb-uncount.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ dbplyr_uncount <- function(data, weights, .remove = TRUE, .id = NULL) {
4747
)
4848
}
4949

50-
n_max <- pull(summarise(ungroup(data), max(!!sym(weights_col), na.rm = TRUE)))
50+
n_max <- pull(summarise(ungroup(data), "max" = max(!!sym(weights_col), na.rm = TRUE)))
5151
n_max <- vctrs::vec_cast(n_max, integer(), x_arg = "weights")
5252

5353
if (is_null(.id)) {

0 commit comments

Comments
 (0)