You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2022/11/24 13:15:13 UTC

[GitHub] [arrow] assignUser commented on issue #14707: [R] Unable to use write_parquet within Docker container running R

assignUser commented on issue #14707:
URL: https://github.com/apache/arrow/issues/14707#issuecomment-1326440248

   Is there a reason why you are installing a super ancient version of arrow? (0.17.0 >2 years old, we are at 10.0.0 now).
   
   I had a look at the container, it has an mran snapshot of cran hard coded:
   ```
   > install.packages("arrow")
   Installing package into ‘/usr/local/lib/R/site-library’
   (as ‘lib’ is unspecified)
   trying URL 'https://mran.microsoft.com/snapshot/2020-04-24/src/contrib/arrow_0.17.0.tar.gz'
   ```
   
   This is what prevents you from installing a recent version of arrow. If there is no specific reason for this I would recommend changing this to a recent snapshot or RSPM or vanillar CRAN. It is possible to force installation of arrow from CRAN with
   `Sys.setenv(LIBARROW_BINARY = TRUE); install.packages("arrow", repos=c(CRAN="https://cran.rstudio.com"))` but you will also need to install arrow's dependencies with this method to make sure they are of a recent, compatible version.
   
   > I have read on previous issues that you can integrate Docker images into CI setup. 
   
   That is possible but the arrow project is not really the right avenue for this general question.  It might also not be necessary unless you have specialized use case (e.g. specific hard to install system dependencies). I recommend checking out the suite of R GitHub actions in https://github.com/r-lib/actions


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org