1
0
mirror of https://github.com/msberends/AMR.git synced 2024-12-25 18:06:12 +01:00

unit test fix for old R versions

This commit is contained in:
Dr. Matthijs Berends 2023-01-21 23:53:31 +01:00 committed by GitHub
parent 98e62c9af2
commit af139a3c82
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -49,16 +49,14 @@ jobs:
# Test all old versions of R >= 3.0, we support them all! # Test all old versions of R >= 3.0, we support them all!
# For these old versions, dependencies and vignettes will not be checked. # For these old versions, dependencies and vignettes will not be checked.
# For recent R versions, see check-recent.yaml (r-lib and tidyverse support the latest 5 major R versions). # For recent R versions, see check-recent.yaml (r-lib and tidyverse support the latest 5 major R versions).
- {os: ubuntu-22.04, r: '3.4', allowfail: false, rspm: "https://packagemanager.rstudio.com/cran/__linux__/jammy/latest"} - {os: ubuntu-latest, r: '3.4', allowfail: false}
- {os: ubuntu-22.04, r: '3.3', allowfail: false, rspm: "https://packagemanager.rstudio.com/cran/__linux__/jammy/latest"} - {os: ubuntu-latest, r: '3.3', allowfail: false}
- {os: ubuntu-22.04, r: '3.2', allowfail: false, rspm: "https://packagemanager.rstudio.com/cran/__linux__/jammy/latest"} - {os: ubuntu-latest, r: '3.2', allowfail: false}
- {os: ubuntu-22.04, r: '3.1', allowfail: false, rspm: "https://packagemanager.rstudio.com/cran/__linux__/jammy/latest"} - {os: ubuntu-latest, r: '3.1', allowfail: false}
- {os: ubuntu-22.04, r: '3.0', allowfail: false, rspm: "https://packagemanager.rstudio.com/cran/__linux__/jammy/latest"} - {os: ubuntu-latest, r: '3.0', allowfail: false}
env: env:
R_REMOTES_NO_ERRORS_FROM_WARNINGS: true R_REMOTES_NO_ERRORS_FROM_WARNINGS: true
RSPM: ${{ matrix.config.rspm }}
R_REPOSITORIES: "https://cran.rstudio.com"
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
@ -69,9 +67,9 @@ jobs:
- uses: r-lib/actions/setup-pandoc@v2 - uses: r-lib/actions/setup-pandoc@v2
- name: Install tinytest - name: Install tinytest from CRAN
run: | run: |
install.packages("tinytest") install.packages("tinytest", repos = "https://cran.r-project.org")
shell: Rscript {0} shell: Rscript {0}
- name: Show session info - name: Show session info