Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[R][CI] R's docker image fails due to incompatibility #22201

Closed
asfimport opened this issue Jun 28, 2019 · 2 comments
Closed

[R][CI] R's docker image fails due to incompatibility #22201

asfimport opened this issue Jun 28, 2019 · 2 comments

Comments

@asfimport
Copy link

The downloaded source packages are in
        '/tmp/RtmpLu0eiq/downloaded_packages'
v  checking for file '/tmp/RtmpLu0eiq/remotes1a8d7c759a55/romainfrancois-decor-6c5a5aa/DESCRIPTION' ...
-  preparing 'decor':
v  checking DESCRIPTION meta-information ...
-  cleaning src
-  checking for LF line-endings in source and make files and shell scripts
-  checking for empty or unneeded directories
-  building 'decor_0.0.0.9001.tar.gz'
   
Installing package into '/usr/local/lib/R/site-library'
(as 'lib' is unspecified)
ERROR: this R is version 3.4.4, package 'decor' requires R >= 3.5.0
Error: Failed to install 'decor' from GitHub:
  (converted from warning) installation of package '/tmp/RtmpLu0eiq/file1a8d6986708c/decor_0.0.0.9001.tar.gz' had non-zero exit status
Execution halted
ERROR: Service 'r' failed to build: The command '/bin/sh -c Rscript -e "install.packages('devtools', repos = 'http://cran.rstudio.com')" &&     Rscript -e "devtools::install_github('romainfrancois/decor')" &&     Rscript -e "install.packages(c(         'Rcpp', 'dplyr', 'stringr', 'glue', 'vctrs',         'purrr',         'assertthat',         'fs',         'tibble',         'crayon',         'testthat',         'bit64',         'hms',         'lubridate'),         repos = 'https://cran.rstudio.com')"' returned a non-zero code: 1
Makefile.docker:49: recipe for target 'build-r' failed

I'm not sure if the fix is just to bump R's version in the image, or avoid the failing package. cc @romainfrancois

Reporter: Francois Saint-Jacques / @fsaintjacques
Assignee: Neal Richardson / @nealrichardson

Note: This issue was originally created as ARROW-5779. Please see the migration documentation for further details.

@asfimport
Copy link
Author

Neal Richardson / @nealrichardson:
Should bump the R version regardless to at least 3.5; 3.6.0 is current release.

@asfimport
Copy link
Author

Neal Richardson / @nealrichardson:
We've overhauled the docker files a few times since this is reported

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants