Skip to content

0.99.57.2

0.99.57.2 #223

Workflow file for this run

on:
push:
branches: [main, master, "update-gha-workflows"]
pull_request:
branches: [main, master]
name: R-CMD-check
jobs:
R-CMD-check:
runs-on: ${{ matrix.config.os }}
name: ${{ matrix.config.os }} (${{ matrix.config.r }})
strategy:
fail-fast: false
matrix:
config:
- {os: windows-latest, r: 'release'}
- {os: macos-latest, r: 'release'}
- {os: ubuntu-latest, r: 'devel', http-user-agent: 'release'}
- {os: ubuntu-latest, r: 'release'}
- {os: ubuntu-latest, r: 'oldrel-1'}
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
R_KEEP_PKG_SOURCE: yes
steps:
- uses: actions/checkout@v3
- uses: r-lib/actions/setup-pandoc@v2
- uses: r-lib/actions/setup-r@v2
env:
_R_CHECK_FORCE_SUGGESTS_: false
with:
r-version: ${{ matrix.config.r }}
http-user-agent: ${{ matrix.config.http-user-agent }}
use-public-rspm: true
extra-repositories: "http://www.omegahat.net/R"
# Use RDCOMClient on Windows
- name: Setup R dependencies (Windows)
uses: r-lib/actions/setup-r-dependencies@v2
if: runner.os == 'Windows'
with:
extra-packages: any::rcmdcheck
needs: check
# Ignore RDCOMClient on MacOs and Linux
- name: Setup R dependencies (MacOS and Linux)
uses: r-lib/actions/setup-r-dependencies@v2
if: runner.os != 'Windows'
with:
extra-packages: any::rcmdcheck, RDCOMClient=?ignore
needs: check
- uses: r-lib/actions/check-r-package@v2
with:
upload-snapshots: true