paleolimbot commented on code in PR #13773:
URL: https://github.com/apache/arrow/pull/13773#discussion_r935646451


##########
r/R/compute.R:
##########
@@ -344,7 +344,7 @@ cast_options <- function(safe = TRUE, ...) {
 #' @return `NULL`, invisibly
 #' @export
 #'
-#' @examplesIf arrow_with_dataset()
+#' @examplesIf arrow_with_dataset() && 
identical(Sys.getenv("R_ARROW_COLLECT_WITH_UDF"), "true")

Review Comment:
   To avoid other examples getting run with the UDF-friendly `collect()` we'd 
need `Sys.unsetenv("R_ARROW_COLLECT_WITH_UDF"` at the bottom. Maybe in 
`\dontshow{}`? Or would that raise a CRAN flag?



-- 
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]

Reply via email to