abalter commented on issue #34783:
URL: https://github.com/apache/arrow/issues/34783#issuecomment-1489557046

   >And what was the result/error?
   Just the same non-zero exit.
   
   Actually, it still has `system("conda install -y -c arrow-nightlies -c 
conda-forge --strict-channel-priority r-arrow")` which won't work. 
   
   The code should do this instead:
   
   ```
     conda <- isTRUE(grepl("conda", R.Version()$platform))
   
     if (conda) {
       conda_prefix = Sys.getenv("CONDA_PREFIX")
       if (nightly) {
         system(str_glue("{conda_prefix} install -y -c arrow-nightlies -c 
conda-forge --strict-channel-priority r-arrow"))
       } else {
         system("str_glue("{conda_prefix} install -y -c conda-forge 
--strict-channel-priority r-arrow"))
       }
     ```


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