Skip to content

Commit

Permalink
Forward compatiblility for dbplyr 2.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
hadley committed Feb 29, 2024
1 parent d0d52e2 commit 869eb43
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion R/Operations.R
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ groupApply <- function(tbl, groupVariable, fun, ..., batchSize = 100000, progres
env$groupData <- groups[[length(groups)]]
env$groupValue <- groups[[length(groups)]][1, groupVariable]
}
batchApply(tbl = tbl %>% arrange(rlang::sym(groupVariable)),
batchApply(tbl = tbl %>% arrange(.data[[groupVariable]]),
fun = wrapper,
userFun = fun,
env = env,
Expand Down
2 changes: 1 addition & 1 deletion extras/TestCode.R
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ andr$cars <- cars
andr[["cars"]]


cars %>% filter(rlang::sym("speed") > 10) %>% collect()
cars %>% filter(speed > 10) %>% collect()

0 comments on commit 869eb43

Please sign in to comment.