Skip to content

Check compatibility with older R versions #13

Check compatibility with older R versions

Check compatibility with older R versions #13

Workflow file for this run

# check the package against older versions of R
on:
push:
branches: [main]
pull_request:
branches: [main]
name: R-old-check
jobs:
R-CMD-check:
runs-on: ${{ matrix.config.os }}
name: ${{ matrix.config.os }} (${{ matrix.config.r }})
strategy:
fail-fast: false
matrix:
config:
- {os: ubuntu-latest, r: '3.6'}
- {os: ubuntu-latest, r: '3.5'}
- {os: ubuntu-latest, r: '3.4'}
- {os: ubuntu-latest, r: '3.3'}
- {os: ubuntu-latest, r: '3.2'}
- {os: ubuntu-latest, r: '3.1'}
- {os: ubuntu-latest, r: '3.0'}
- {os: ubuntu-latest, r: '3.0.0'}
- {os: windows-latest, r: '2.15'}
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
R_KEEP_PKG_SOURCE: yes
_R_CHECK_FORCE_SUGGESTS_: false
steps:
- uses: actions/checkout@HEAD
- uses: r-lib/actions/setup-tinytex@HEAD
- uses: r-lib/actions/setup-r@HEAD
with:
r-version: ${{ matrix.config.r }}
use-public-rspm: true
- name: Install dependencies
run: |
Rscript .github/workflows/deps.R
- name: R CMD check
shell: bash
run: |
R CMD INSTALL .
cd ..
R CMD build litedown
R CMD check --as-cran litedown_*.tar.gz