1
0
mirror of https://github.com/msberends/AMR.git synced 2024-12-25 18:06:12 +01:00

linux deps

This commit is contained in:
dr. M.S. (Matthijs) Berends 2018-10-23 20:38:18 +02:00
parent 0834bdfabc
commit 99323e704d

View File

@ -3,12 +3,7 @@
image: rocker/r-base
gitlab:
script:
# - apt-get update
# - apt-get install --yes --no-install-recommends r-cran-testthat r-cran-devtools
# - R -e "devtools::install_deps(dependencies = TRUE)"
# - R CMD build . --no-build-vignettes --no-manual
# - PKG_FILE_NAME=$(ls -1t *.tar.gz | head -n 1)
# - R CMD check "${PKG_FILE_NAME}" --no-manual --as-cran
- apt-get install --yes libssl-dev libcurl4-openssl-dev libxml2-dev
- R -e "install.packages(c('backports', 'curl', 'crayon', 'data', 'dplyr', 'hms', 'knitr', 'rlang', 'rvest', 'tidyr', 'xml2', 'covr', 'ggplot2', 'rmarkdown', 'rstudioapi', 'testthat'))"
- R CMD build . --no-build-vignettes --no-manual
- PKG_FILE_NAME=$(ls -1t *.tar.gz | head -n 1)