Skip to content
Snippets Groups Projects
Commit 52b69b75 authored by Sébastien Galais's avatar Sébastien Galais
Browse files

Try rocker/r-ver:latest in .gitlab-ci.yml.

parent ef3f2565
No related branches found
No related tags found
No related merge requests found
Pipeline #142656 failed with stage
in 5 minutes and 6 seconds
before_script:
- apt-get update
- apt-get install -y --no-install-recommends qpdf pandoc pandoc-citeproc
build_markdown_v1: # to test R Markdown v1 without pandoc, must install knitr and rmarkdown build_markdown_v1: # to test R Markdown v1 without pandoc, must install knitr and rmarkdown
image: jangorecki/r-base-dev image: jangorecki/r-base-dev
script: script:
...@@ -8,6 +12,14 @@ build_markdown_v1: # to test R Markdown v1 without pandoc, must install knitr an ...@@ -8,6 +12,14 @@ build_markdown_v1: # to test R Markdown v1 without pandoc, must install knitr an
build_cran: build_cran:
image: jangorecki/r-pkg image: jangorecki/r-pkg
script:
- R -e 'install.packages(c("curl", "jsonlite", "data.table", "tinytest"))'
- R CMD build .
- PKG_FILE_NAME=$(ls -1t *.tar.gz | head -n 1)
- R CMD check "${PKG_FILE_NAME}" --no-manual --as-cran
build_version_latest:
image: rocker/r-ver:latest
script: script:
- R -e 'install.packages(c("curl", "jsonlite", "data.table", "tinytest"))' - R -e 'install.packages(c("curl", "jsonlite", "data.table", "tinytest"))'
- R CMD build . - R CMD build .
......
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