install pak from source on rhel
This commit is contained in:
parent
7d3ce5e54a
commit
6710eb3d36
1 changed files with 100 additions and 98 deletions
|
|
@ -30,7 +30,8 @@ RUN curl -q -L -O https://sourceforge.net/projects/mcmc-jags/files/JAGS/4.x/Sour
|
|||
### INSTALL R
|
||||
RUN curl -O "https://devxy-r-builds.s3.eu-central-2.amazonaws.com/el9/R-${R_VERSION}-1-1.$(arch).rpm"
|
||||
RUN dnf install -q -y "R-${R_VERSION}-1-1.$(arch).rpm" && rm "R-${R_VERSION}-1-1.$(arch).rpm"
|
||||
RUN R -q -e 'install.packages("pak", repos = sprintf("https://r-lib.github.io/p/pak/devel/%s/%s/%s", .Platform$pkgType, R.Version()$os, R.Version()$arch))'
|
||||
# we can't install pak on rhel as the bundled curl has the wrong CURL_CA_BUNDLE set (as it is only built on Ubuntu)
|
||||
RUN R -q -e 'install.packages("remotes", repos = "cloud.r-project.org"); remotes::install_github("r-lib/pak")'
|
||||
|
||||
### Makevars
|
||||
# dbarts: CFLAGS += -flax-vector-conversions (https://github.com/vdorie/dbarts/issues/66)
|
||||
|
|
|
|||
Loading…
Reference in a new issue