thisisnic commented on code in PR #14279:
URL: https://github.com/apache/arrow/pull/14279#discussion_r991885194
##########
r/R/dplyr-across.R:
##########
@@ -102,8 +102,20 @@ across_setup <- function(cols, fns, names, .caller_env,
mask, inline = FALSE) {
return(value)
}
+ is_single_func <- function(fns) {
+
+ # function calls with package base::round
+ (is.call(fns) && fns[[1]] == as.name("::")) ||
Review Comment:
I'm tempted to just allow R to catch it; if I try using something weird like
a dataset instead of a function, we'll get something like `Warning: Expression
ggplot2::diamonds(mpg) not supported in Arrow; pulling data into R`, and then
the same error we'd get if trying this in a non-Arrow context.
--
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]