We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5726930 commit 7a4d9b5Copy full SHA for 7a4d9b5
R/verb-uncount.R
@@ -47,7 +47,7 @@ dbplyr_uncount <- function(data, weights, .remove = TRUE, .id = NULL) {
47
)
48
}
49
50
- n_max <- pull(summarise(ungroup(data), max(!!sym(weights_col), na.rm = TRUE)))
+ n_max <- pull(summarise(ungroup(data), "max" = max(!!sym(weights_col), na.rm = TRUE)))
51
n_max <- vctrs::vec_cast(n_max, integer(), x_arg = "weights")
52
53
if (is_null(.id)) {
0 commit comments