Skip to content

Use system tar on macOS / Linux for portable runtime archives #14

Use system tar on macOS / Linux for portable runtime archives

Use system tar on macOS / Linux for portable runtime archives #14

Workflow file for this run

on:
push:
branches: [main]
pull_request:
branches: [main]
name: R-CMD-check
permissions: read-all
jobs:
R-CMD-check:
runs-on: ${{ matrix.config.os }}
name: ${{ matrix.config.os }} (${{ matrix.config.r }})
strategy:
fail-fast: false
matrix:
config:
- {os: macos-latest, r: 'release'}
- {os: windows-latest, r: 'release'}
- {os: ubuntu-latest, r: 'release'}
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
R_KEEP_PKG_SOURCE: yes
steps:
- uses: actions/checkout@v6
- uses: r-lib/actions/setup-r@v2
with:
r-version: ${{ matrix.config.r }}
use-public-rspm: true
- uses: actions/setup-node@v6
with:
node-version: '22'
- uses: r-lib/actions/setup-r-dependencies@v2
with:
# local::. installs the package itself so quarto CLI can
# `library(shinyelectron)` when rebuilding vignettes on Windows.
# See https://github.com/quarto-dev/quarto-r/issues/217
extra-packages: any::rcmdcheck, local::.
needs: check
- uses: r-lib/actions/check-r-package@v2
with:
args: 'c("--no-manual", "--no-vignettes")'