nealrichardson commented on code in PR #14276:
URL: https://github.com/apache/arrow/pull/14276#discussion_r983498829
##########
r/R/dplyr-across.R:
##########
@@ -175,3 +162,13 @@ across_setup <- function(cols, fns, names, .caller_env,
mask, inline = FALSE) {
across_glue_mask <- function(.col, .fn, .caller_env) {
env(.caller_env, .col = .col, .fn = .fn, col = .col, fn = .fn)
}
+
+quosure_from_func_and_col <- function(func, col) {
Review Comment:
Can you add comments explaining why this is necessary?
Does `dplyr` do this too?
##########
r/R/dplyr-across.R:
##########
@@ -175,3 +162,13 @@ across_setup <- function(cols, fns, names, .caller_env,
mask, inline = FALSE) {
across_glue_mask <- function(.col, .fn, .caller_env) {
env(.caller_env, .col = .col, .fn = .fn, col = .col, fn = .fn)
}
+
+quosure_from_func_and_col <- function(func, col) {
Review Comment:
Can you add comments explaining why this is necessary, and what exactly it's
doing?
Does `dplyr` do this too?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]