Commit 7145a9c9 authored by Jean-Francois Rey's avatar Jean-Francois Rey
Browse files

update CI with R dependencies install

parent e4f210b9
Pipeline #3851 canceled with stages
in 49 seconds
......@@ -38,7 +38,7 @@ r-Mac-build_test:
- "R4.1"
- "vmr"
script:
- Rscript -e "install.packages(c('roxygen2', 'rmarkdown', 'Rcpp','sp','Matrix', 'mvtnorm','maptools','fields','splancs','sf','DBI','RSQLite', 'foreach','parallel','doParallel'), repos='https://cloud.r-project.org', type='mac.binary')"
- Rscript -e "install.packages(c('roxygen2', 'rmarkdown', 'Rcpp','sp','Matrix', 'mvtnorm','maptools','fields','splancs','sf','DBI','RSQLite', 'foreach','parallel','doParallel', 'shiny', 'shinyjs', 'DT'), repos='https://cloud.r-project.org', type='mac.binary')"
- 'TMPDIR="/tmp" && Rscript -e "pkgbuild::compile_dll()"'
- "Rscript -e \"roxygen2::roxygenize('.', roclets=c('rd', 'collate', 'namespace'))\""
- "R CMD build . --resave-data --compact-vignettes=both"
......@@ -55,8 +55,7 @@ r-windows-build_test:
- "vmr"
before_script:
- pacman --noconfirm -yS mingw-w64-{i686,x86_64}-gsl
- Rscript -e "install.packages(c('roxygen2', 'rmarkdown', 'Rcpp','sp','Matrix', 'mvtnorm','maptools','fields','splancs','sf','DBI','RSQLite', 'foreach','parallel','doParallel'), repos='https://cloud.r-project.org')"
- Rscript -e "install.packages(c('roxygen2', 'rmarkdown', 'Rcpp','sp','Matrix', 'mvtnorm','maptools','fields','splancs','sf','DBI','RSQLite', 'foreach','parallel','doParallel', 'shiny', 'shinyjs', 'DT'), repos='https://cloud.r-project.org')"
script:
- "Rscript -e \"pkgbuild::compile_dll()\""
- "Rscript -e \"roxygen2::roxygenize('.', roclets=c('rd', 'collate', 'namespace'))\""
......@@ -100,7 +99,11 @@ release-winR4:
stage: packages
tags:
- "win10"
- "R4"
- "R4.1"
- "vmr"
before_script:
- pacman --noconfirm -yS mingw-w64-{i686,x86_64}-gsl
- Rscript -e "install.packages(c('roxygen2', 'rmarkdown', 'Rcpp','sp','Matrix', 'mvtnorm','maptools','fields','splancs','sf','DBI','RSQLite', 'foreach','parallel','doParallel', 'shiny', 'shinyjs', 'DT'), repos='https://cloud.r-project.org')"
script:
- "R CMD INSTALL --build --force-biarch $(ls -rt landsepi_*.tar.gz |tail -1)"
artifacts:
......@@ -114,9 +117,11 @@ release-winR4:
release-Mac:
stage: packages
tags:
- "Mac"
- "R4"
- "MacOS"
- "R4.1"
- "vmr"
script:
- Rscript -e "install.packages(c('roxygen2', 'rmarkdown', 'Rcpp','sp','Matrix', 'mvtnorm','maptools','fields','splancs','sf','DBI','RSQLite', 'foreach','parallel','doParallel', 'shiny', 'shinyjs', 'DT'), repos='https://cloud.r-project.org', type='mac.binary')"
- "R CMD INSTALL --build $(ls -rt landsepi_*.tar.gz |tail -1)"
artifacts:
paths:
......
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