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
0e785373
Commit
0e785373
authored
Apr 18, 2020
by
Facundo Muñoz
®️
Browse files
GitLab CI: test R-release
parent
7efe301c
Pipeline
#10963
failed with stages
in 30 minutes and 11 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
0e785373
...
...
@@ -7,3 +7,32 @@ pages:
-
public
only
:
-
master
# Use the shiny-verse Docker image for the run
# (Includes, devtools, tidyverse, ...)
# https://hub.docker.com/r/rocker/shiny-verse/
image
:
rocker/shiny-verse
## Use built-in GitLab CI environment variables
## (https://docs.gitlab.com/ee/ci/variables/#predefined-variables-environment-variables)
## CI_PROJECT_DIR: full path to where the repository is cloned
## CI_PROJECT_NAME is the project folder name
variables
:
R_LIBS_USER
:
"
$CI_PROJECT_DIR/ci/lib"
CHECK_DIR
:
"
$CI_PROJECT_DIR/ci/logs"
BUILD_LOGS_DIR
:
"
$CI_PROJECT_DIR/ci/logs/$CI_PROJECT_NAME.Rcheck"
test
:
script
:
-
mkdir -p $R_LIBS_USER $BUILD_LOGS_DIR
# system requirements
-
apt-get install -y libv8-dev libjq-dev libprotobuf-dev protobuf-compiler libgdal-dev libproj-dev libudunits2-dev
-
R -e 'devtools::install_deps(dep = T, lib = Sys.getenv("R_LIBS_USER"))'
-
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_USER
after_script
:
-
R -e 'covr::package_coverage(Sys.getenv("CI_PROJECT_DIR"))'
DESCRIPTION
View file @
0e785373
Package: mapMCDA
Title: Produce an epidemiological risk map by weighting multiple risk
factors
Version: 0.4.
29
Version: 0.4.
34
Date: 2020-04-18
Authors@R: c( person("Andrea", "Apolloni", email =
"andrea.apolloni@cirad.fr", role = c("ctb"), comment = "Animal
...
...
@@ -30,7 +30,8 @@ Imports: classInt, deldir, geojsonio, geojsonlint, geonetwork, igraph,
methods, maps, maptools, plyr, raster, rasterVis, RColorBrewer,
rgdal, rgeos, rhandsontable, shiny, shinydashboard, shinyFiles,
sp, stringr, utils
Suggests: devtools, knitr, mapview, rmarkdown, roxygen2, testthat
Suggests: covr, devtools, knitr, lintr, mapview, rmarkdown, roxygen2,
testthat
RoxygenNote: 7.1.0
URL: https://umr-astre.pages.mia.inra.fr/mapMCDA
BugReports: https://forgemia.inra.fr/umr-astre/mapMCDA/issues
...
...
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