mirror of https://github.com/msberends/AMR.git
11 lines
407 B
YAML
11 lines
407 B
YAML
# from https://stackoverflow.com/questions/51866926
|
|
image: rocker/r-base
|
|
test:
|
|
script:
|
|
- apt-get update
|
|
- apt-get install --yes --no-install-recommends r-cran-testthat r-cran-devtools
|
|
- R -e "devtools::install_deps()"
|
|
- R CMD build . --no-build-vignettes --no-manual
|
|
- PKG_FILE_NAME=$(ls -1t *.tar.gz | head -n 1)
|
|
- R CMD check "${PKG_FILE_NAME}" --no-build-vignettes --no-manual
|