Commit 7b141734 authored by Dorchies David's avatar Dorchies David

ci: Fix R path error for a selected version of R

Refs #55
parent 492dc9ef
Pipeline #12621 passed with stages
in 31 minutes and 25 seconds
......@@ -5,13 +5,14 @@ stages:
default:
before_script:
- echo "setwd(\"$(pwd)\")" > .Rprofile
- PATH=~/R/sources/R-${R_VERSION}/bin:$PATH
.build:
stage: build
script:
- cd ..
- echo "setwd(\"$(pwd)\")" > .Rprofile
- ~/R/R-${R_VERSION}/bin/R CMD build airgr
- R CMD build airgr
- mv *.tar.gz airgr/
artifacts:
untracked: true
......@@ -22,12 +23,12 @@ default:
variables:
NOT_CRAN: "true"
script:
- ~/R/R-${R_VERSION}/bin/R CMD check airGR_*.tar.gz
- R CMD check airGR_*.tar.gz
.check_as_cran:
stage: tests
script:
- ~/R/R-${R_VERSION}/bin/R CMD check --as-cran airGR_*.tar.gz
- R CMD check --as-cran airGR_*.tar.gz
build_patched:
variables:
......
Markdown is supported
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