From 24327bc7de084f9de5ca20949cf90609bd2852ec Mon Sep 17 00:00:00 2001 From: "Matthijs S. Berends" Date: Wed, 24 Oct 2018 19:14:11 +0000 Subject: [PATCH] Update .gitlab-ci.yml --- .gitlab-ci.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index bf71f883..b5aca786 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -13,9 +13,10 @@ R 3.3: script: - apt-get update # install dependencies for package - - apt-get install --yes --no-install-recommends libxml2-dev libssl-dev libcurl4-openssl-dev zlib1g-dev - - R -e 'install.packages(c("devtools", "testthat"))' + - apt-get install --yes --no-install-recommends libxml2-dev libssl-dev libcurl4-openssl-dev zlib1g-dev + - R -e 'install.packages(c("devtools", "rlang"))' - R -e 'devtools::install_deps(dependencies = c("Depends", "Imports", "Suggests"))' + - R -e 'print(as.data.frame(installed.packages(), row.names = FALSE)[, c("Package", "Version")])'' # remove vignettes folder and get VignetteBuilder field out of DESCRIPTION file - rm -rf vignettes - R -e 'd <- read.dcf("DESCRIPTION"); d[, colnames(d) == "VignetteBuilder"] <- NA; write.dcf(d, "DESCRIPTION")' @@ -30,8 +31,9 @@ R 3.4: - apt-get update # install dependencies for package - apt-get install --yes --no-install-recommends libxml2-dev libssl-dev libcurl4-openssl-dev zlib1g-dev - - R -e 'install.packages(c("devtools", "testthat"))' + - R -e 'install.packages("devtools")' - R -e 'devtools::install_deps(dependencies = c("Depends", "Imports", "Suggests"))' + - R -e 'print(as.data.frame(installed.packages(), row.names = FALSE)[, c("Package", "Version")])'' # remove vignettes folder and get VignetteBuilder field out of DESCRIPTION file - rm -rf vignettes - R -e 'd <- read.dcf("DESCRIPTION"); d[, colnames(d) == "VignetteBuilder"] <- NA; write.dcf(d, "DESCRIPTION")' @@ -46,8 +48,9 @@ R 3.5: - apt-get update # install dependencies for package - apt-get install --yes --no-install-recommends libxml2-dev libssl-dev libcurl4-openssl-dev zlib1g-dev - - R -e 'install.packages(c("devtools", "testthat"))' + - R -e 'install.packages("devtools")' - R -e 'devtools::install_deps(dependencies = c("Depends", "Imports", "Suggests"))' + - R -e 'print(as.data.frame(installed.packages(), row.names = FALSE)[, c("Package", "Version")])'' # remove vignettes folder and get VignetteBuilder field out of DESCRIPTION file - rm -rf vignettes - R -e 'd <- read.dcf("DESCRIPTION"); d[, colnames(d) == "VignetteBuilder"] <- NA; write.dcf(d, "DESCRIPTION")'