Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
UMR-ASTRE
mapMCDA
Commits
984acd14
Commit
984acd14
authored
Apr 24, 2020
by
Facundo Muñoz
®️
Browse files
GitLab CI: test in R-devel.
Also: remove debug entries.
parent
fcd10103
Pipeline
#11568
passed with stages
in 4 minutes and 34 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
984acd14
...
...
@@ -22,21 +22,30 @@ variables:
CHECK_DIR
:
"
$CI_PROJECT_DIR/ci/logs"
BUILD_LOGS_DIR
:
"
$CI_PROJECT_DIR/ci/logs/$CI_PROJECT_NAME.Rcheck"
test
:
.test-template
:
&test
script
:
-
mkdir -p $R_LIBS $BUILD_LOGS_DIR
# system requirements
-
apt-get install -y --no-install-recommends libv8-dev libjq-dev libprotobuf-dev protobuf-compiler qpdf libgdal-dev libproj-dev libudunits2-dev
-
R -e 'devtools::install_deps(dep = T, lib = Sys.getenv("R_LIBS"))'
-
echo $R_LIBS
-
R -e 'Sys.getenv("R_LIBS")'
-
R -e '.libPaths()'
-
R -e 'installed.packages()["deldir",]'
-
R -e 'devtools::check(check_dir = Sys.getenv("CHECK_DIR"))'
-
R -e 'if (length(devtools::check_failures(path = Sys.getenv("BUILD_LOGS_DIR"), note = FALSE)) > 0) stop()'
cache
:
paths
:
-
$R_LIBS
artifacts
:
paths
:
-
$BUILD_LOGS_DIR
test-release
:
<<
:
*test
image
:
rocker/shiny-verse
test-devel
:
<<
:
*test
image
:
rocker/shiny-verse:devel
after_script
:
-
R -e 'covr::package_coverage(Sys.getenv("CI_PROJECT_DIR"))'
...
...
DESCRIPTION
View file @
984acd14
Package: mapMCDA
Title: Produce an epidemiological risk map by weighting multiple risk
factors
Version: 0.4.4
0
Date: 2020-04-2
2
Version: 0.4.4
2
Date: 2020-04-2
4
Authors@R: c( person("Andrea", "Apolloni", email =
"andrea.apolloni@cirad.fr", role = c("ctb"), comment = "Animal
mobility algorithm"), person("Elena", "Arsevska", email =
...
...
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