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

ci: dependencies issue with package 'usethis'

Refs #86
Showing with 2 additions and 1 deletion
+2 -1
...@@ -13,13 +13,14 @@ default: ...@@ -13,13 +13,14 @@ 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 'remotes::install_deps(dep = T)'
.build: .build:
stage: build stage: build
script: script:
- cd .. - cd ..
- echo "setwd(\"$(pwd)\")" > .Rprofile - echo "setwd(\"$(pwd)\")" > .Rprofile
- R -e 'utils::install.packages("usethis")'
- R -e 'remotes::install_deps(dep = T)'
- R CMD build airgr - R CMD build airgr
- rename "s/airGR/${R_VERSION}.airGR/" airGR_*.tar.gz - rename "s/airGR/${R_VERSION}.airGR/" airGR_*.tar.gz
- mv *.tar.gz airgr/ - mv *.tar.gz airgr/
......
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