Add support for parabar
and other performance and documentation improvements
#3
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# R CMD check workflow. | |
name: R-CMD-check | |
# Set workflow permissions. | |
permissions: read-all | |
# Run on pushes and pull requests to the `master` branch. | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
# Trigger manually via the GitHub UI. | |
workflow_dispatch: | |
# Jobs to run. | |
jobs: | |
# CRAN check job | |
R-CMD-check: | |
name: ${{ matrix.config.os }} (${{ matrix.config.r }}) | |
runs-on: ${{ matrix.config.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
config: | |
- {os: macos-latest, r: 'release'} | |
- {os: windows-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 | |
# Actions. | |
steps: | |
# Checkout the repository. | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
# Setup `pandoc`. | |
- name: Setup pandoc | |
uses: r-lib/actions/setup-pandoc@v2 | |
# Setup `R`. | |
- name: Setup R | |
uses: r-lib/actions/setup-r@v2 | |
with: | |
r-version: ${{ matrix.config.r }} | |
http-user-agent: ${{ matrix.config.http-user-agent }} | |
use-public-rspm: true | |
# Setup package dependencies and extras. | |
- name: Install dependencies | |
uses: r-lib/actions/setup-r-dependencies@v2 | |
with: | |
extra-packages: any::rcmdcheck | |
needs: check | |
# Perform the CRAN check. | |
- name: Check package | |
uses: r-lib/actions/check-r-package@v2 | |
with: | |
upload-snapshots: true | |
build_args: 'c("--no-manual","--compact-vignettes=gs+qpdf")' |