kou commented on code in PR #50610:
URL: https://github.com/apache/arrow/pull/50610#discussion_r3635184396


##########
ci/scripts/r_deps.sh:
##########
@@ -43,15 +43,15 @@ fi
 # install.packages() emits warnings if packages fail to install,
 # but we want to error/fail the build.
 # options(warn=2) turns warnings into errors
-${R_BIN} -e "options(warn=2); install.packages('remotes'); 
remotes::install_cran(c('glue', 'rcmdcheck', 'sys')); 
remotes::install_deps(INSTALL_opts = '"${INSTALL_ARGS}"')"
+"${R_BIN}" -e "options(warn=2); install.packages('remotes'); 
remotes::install_cran(c('glue', 'rcmdcheck', 'sys')); 
remotes::install_deps(INSTALL_opts = '""${INSTALL_ARGS}""')"

Review Comment:
   Does this work?
   
   ```suggestion
   "${R_BIN}" -e "options(warn=2); install.packages('remotes'); 
remotes::install_cran(c('glue', 'rcmdcheck', 'sys')); 
remotes::install_deps(INSTALL_opts = '\"${INSTALL_ARGS}\"')"
   ```



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