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


##########
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:
   Oh I see, you want to make sure it doesn't run on CRAN. So how about this, 
so that we get the examples running on the docs without having to set other env 
vars?
   
   ```suggestion
   #' @examplesIf arrow_with_dataset() && identical(Sys.getenv("NOT_CRAN"), 
"true")
   ```



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