karldw commented on code in PR #12973:
URL: https://github.com/apache/arrow/pull/12973#discussion_r861386651


##########
r/tools/nixlibs.R:
##########
@@ -462,27 +471,41 @@ turn_off_all_optional_features <- function(env_var_list) {
   replace(env_var_list, names(turn_off), turn_off)
 }
 
+get_component_names <- function() {
+  if (!isTRUE(Sys.which("bash") != "")) {
+    stop("nixlibs.R requires bash to be installed and available in your PATH")
+  }
+  deps_bash <- normalizePath("tools/download_dependencies_R.sh", mustWork = 
TRUE)

Review Comment:
   Good point -- I was using it as a check that the file exists, but bash will 
error if it doesn't.



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