Commit d599413d authored by Dorchies David's avatar Dorchies David
Browse files

ci: optimisation of dependency load

parent fb5320c2
Pipeline #31849 passed with stages
in 42 minutes and 35 seconds
......@@ -23,7 +23,7 @@ cache:
before_script:
- mkdir -p $R_LIBS_USER $BUILD_LOGS_DIR
- echo "R_LIBS='$R_LIBS_USER'" > .Renviron
- R -q -e 'devtools::install_deps(dep = T, repos = "http://cran.r-project.org", build = TRUE)'
- R -q -e 'devtools::install_deps(repos = "http://cran.r-project.org", build = TRUE)'
.check:
stage: checks
......@@ -59,9 +59,9 @@ bookdown:
- dev
- tags
script:
- R -q -e 'devtools::install(quick = TRUE)'
- sudo apt-get update && sudo apt-get install -y libudunits2-dev proj-bin libgdal-dev libgeos-dev
- R -q -e 'remotes::update_packages(c("bookdown", "ggplot2", "rgdal", "raster", "rgeos", "mapsf"), repos = "http://cran.r-project.org")'
- R -q -e 'devtools::install_deps(dependencies = TRUE, repos = "http://cran.r-project.org", build = TRUE)'
- R -q -e 'devtools::install(quick = TRUE)'
- cd bookdown
- R -q -e 'bookdown::render_book()'
- sudo apt-get update && sudo apt-get install -y sshpass rsync
......
......@@ -15,6 +15,8 @@ License: AGPL (>= 3)
Encoding: UTF-8
LazyData: true
Suggests:
bookdown,
ggplot2,
knitr,
lubridate,
prettymapr,
......@@ -32,7 +34,6 @@ Depends:
R (>= 2.10),
airGRiwrm (>= 0.5.0.9002)
Imports:
airGR (>= 1.6.12.9001),
config,
glue,
httr,
......
Markdown is supported
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