This commit is contained in:
dr. M.S. (Matthijs) Berends 2018-12-24 15:32:43 +01:00
parent f68d39c9f1
commit 7408400320
1 changed files with 1 additions and 1 deletions

View File

@ -1,7 +1,6 @@
# from https://stackoverflow.com/questions/51866926
# and https://github.com/jangorecki/r.gitlab.ci
# and https://docs.gitlab.com/ce/ci/yaml/README.html
# how the Docker+R images work: https://hub.docker.com/r/rocker/r-ver/
R 3:
image: rocker/r-ver:3 # test on R v3.*.*
@ -40,6 +39,7 @@ pages:
- apt-get update && apt-get -y install libxml2-dev libssl-dev libcurl4-openssl-dev pandoc r-base
- Rscript -e "install.packages(c('pkgdown', 'devtools'), repos = 'http://cran.rstudio.com')"
- Rscript -e "devtools::install_dev_deps(repos = 'https://cran.rstudio.com')"
- Rscript -e "devtools::build()"
- R -e "pkgdown::build_site()"
artifacts:
paths: