mirror of
https://github.com/msberends/AMR.git
synced 2025-07-09 15:41:56 +02:00
(v1.4.0.9023) unit tests
This commit is contained in:
12
.github/workflows/check.yaml
vendored
12
.github/workflows/check.yaml
vendored
@ -92,7 +92,7 @@ jobs:
|
||||
key: ${{ runner.os }}-r-${{ matrix.config.r }}-3-${{ hashFiles('.github/depends.Rds') }}
|
||||
restore-keys: ${{ runner.os }}-r-${{ matrix.config.r }}-3-
|
||||
|
||||
- name: Install system dependencies
|
||||
- name: Install Linux dependencies
|
||||
if: runner.os == 'Linux'
|
||||
env:
|
||||
RHUB_PLATFORM: linux-x86_64-ubuntu-gcc
|
||||
@ -119,7 +119,15 @@ jobs:
|
||||
sessioninfo::session_info(pkgs, include_base = TRUE)
|
||||
shell: Rscript {0}
|
||||
|
||||
- name: Check
|
||||
- name: Check on older R versions
|
||||
if: matrix.config.r == '3.3'
|
||||
env:
|
||||
_R_CHECK_CRAN_INCOMING_: false
|
||||
run: rcmdcheck::rcmdcheck(args = c("--no-manual", "--as-cran", "--no-build-vignettes" , "--ignore-vignettes"), error_on = "warning", check_dir = "check")
|
||||
shell: Rscript {0}
|
||||
|
||||
- name: Check on newer R versions
|
||||
if: matrix.config.r != '3.3'
|
||||
env:
|
||||
_R_CHECK_CRAN_INCOMING_: false
|
||||
run: rcmdcheck::rcmdcheck(args = c("--no-manual", "--as-cran"), error_on = "warning", check_dir = "check")
|
||||
|
Reference in New Issue
Block a user