Commit 393e951e authored by David Dorchies's avatar David Dorchies
Browse files

ci: speedup dependencies installations by using binaries

Using the Posit Public Package Manager

Refs #175
parent 068d0db5
3 merge requests!96ci(yaml): replace 'rocker/verse' image by 'rocker/geospatial',!93Resolve "Correct vignette due to the return of 'Rmalschains' on the CRAN repository",!88refactor: fix to pass CRAN checks
Showing with 2 additions and 7 deletions
+2 -7
...@@ -58,6 +58,7 @@ vignettes/*.pdf ...@@ -58,6 +58,7 @@ vignettes/*.pdf
# R Environment Variables # R Environment Variables
.Renviron .Renviron
.Rprofile
# pkgdown site # pkgdown site
docs/ docs/
......
...@@ -17,6 +17,7 @@ cache: ...@@ -17,6 +17,7 @@ cache:
before_script: before_script:
- mkdir -p $R_LIBS_USER - mkdir -p $R_LIBS_USER
- echo "R_LIBS='$R_LIBS_USER'" > .Renviron - echo "R_LIBS='$R_LIBS_USER'" > .Renviron
- echo 'options(repos = c(CRAN = "https://packagemanager.posit.co/cran/__linux__/focal/latest"))' > .Rprofile
- apt-get update && apt-get install -y libstdc++6 - apt-get update && apt-get install -y libstdc++6
- R -q -e 'remotes::install_deps(dependencies = TRUE)' - R -q -e 'remotes::install_deps(dependencies = TRUE)'
...@@ -42,13 +43,6 @@ before_script: ...@@ -42,13 +43,6 @@ before_script:
image: rocker/geospatial:4.1 image: rocker/geospatial:4.1
variables: variables:
R_VERSION: oldrel R_VERSION: oldrel
before_script:
- mkdir -p $R_LIBS_USER
- echo "R_LIBS='$R_LIBS_USER'" > .Renviron
- apt-get update && apt-get install -y tk libstdc++6
- R -q -e 'remotes::update_packages("sm")'
- R -q -e 'install.packages("vioplot")'
- R -q -e 'remotes::install_deps(dependencies = TRUE)'
.scheduled_tests: .scheduled_tests:
only: only:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment