Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
IN-WOP
SeineBasin2
Commits
d599413d
Commit
d599413d
authored
Jan 14, 2022
by
Dorchies David
Browse files
ci: optimisation of dependency load
parent
fb5320c2
Pipeline
#31849
passed with stages
in 42 minutes and 35 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
d599413d
...
...
@@ -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
...
...
DESCRIPTION
View file @
d599413d
...
...
@@ -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,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment