Commit ac915da3 authored by Dorchies David's avatar Dorchies David
Browse files

ci: dependencies issue

Refs #86
Showing with 1 addition and 26 deletions
+1 -26
stages: stages:
- update_packages
- build - build
- regression - regression
- tests - tests
...@@ -14,16 +13,7 @@ default: ...@@ -14,16 +13,7 @@ default:
- echo "setwd(\"$(pwd)\")" > .Rprofile - echo "setwd(\"$(pwd)\")" > .Rprofile
- PATH=~/R/sources/R-${R_VERSION}/bin:$PATH - PATH=~/R/sources/R-${R_VERSION}/bin:$PATH
- rename "s/${R_VERSION}.airGR/airGR/" *.tar.gz - rename "s/${R_VERSION}.airGR/airGR/" *.tar.gz
- R -e 'chooseCRANmirror(graphics = FALSE, ind = 1); pkg <- "caRamel"; pkgInst <- installed.packages()[, "Package"]; pkgMiss <- setdiff(pkg, pkgInst); if (length(pkgMiss) > 0) install.packages(pkgMiss)' - R -e 'remotes::install_deps(dep = T)'
.update_packages:
stage: update_packages
only:
refs:
- tags
- schedules
script:
- Rscript -e "update.packages(ask=FALSE, repos=\"http://cran.r-project.org\")"
.build: .build:
stage: build stage: build
...@@ -63,11 +53,6 @@ default: ...@@ -63,11 +53,6 @@ default:
AS_CRAN: "true" AS_CRAN: "true"
extends: .check extends: .check
update_packages_patched:
variables:
R_VERSION: "patched"
extends: .update_packages
build_patched: build_patched:
variables: variables:
R_VERSION: "patched" R_VERSION: "patched"
...@@ -104,11 +89,6 @@ check_as_cran_patched: ...@@ -104,11 +89,6 @@ check_as_cran_patched:
R_VERSION: "patched" R_VERSION: "patched"
extends: .check_as_cran extends: .check_as_cran
update_packages_devel:
variables:
R_VERSION: "devel"
extends: .update_packages
build_devel: build_devel:
only: only:
refs: refs:
...@@ -136,11 +116,6 @@ check_as_cran_devel: ...@@ -136,11 +116,6 @@ check_as_cran_devel:
R_VERSION: "devel" R_VERSION: "devel"
extends: .check_as_cran extends: .check_as_cran
update_packages_oldrel:
variables:
R_VERSION: "oldrel"
extends: .update_packages
build_oldrel: build_oldrel:
only: only:
refs: refs:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment