MichaelChirico commented on a change in pull request #28387: URL: https://github.com/apache/spark/pull/28387#discussion_r416457657
########## File path: R/pkg/R/DataFrame.R ########## @@ -1226,8 +1226,7 @@ setMethod("collect", # empty data.frame with 0 columns and 0 rows data.frame() } else if (useArrow) { - requireNamespace1 <- requireNamespace - if (requireNamespace1("arrow", quietly = TRUE)) { + if (requireNamespace("arrow", quietly = TRUE)) { read_arrow <- get("read_arrow", envir = asNamespace("arrow"), inherits = FALSE) Review comment: Yep, I wasn't reading carefully enough. ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org