Skip to content

Preparing for CRAN Release #298

Preparing for CRAN Release

Preparing for CRAN Release #298

Workflow file for this run

# Workflow derived from https://github.com/r-lib/actions/tree/v2/examples
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
on:
push:
branches: [main, master]
pull_request:
branches: [main, master]
name: R-CMD-check
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref }}
cancel-in-progress: true
jobs:
R-CMD-check:
runs-on: ${{ matrix.config.os }}
name: "${{ matrix.config.os }} (R: ${{ matrix.config.r }}, Rust: ${{ matrix.config.rust }})"
strategy:
fail-fast: false
matrix:
config:
- {os: macOS-latest, r: 'release', rust: 'stable' }
- {os: ubuntu-20.04, r: 'release', rust: 'stable' }
- {os: ubuntu-20.04, r: 'devel', rust: 'stable' }
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
R_KEEP_PKG_SOURCE: yes
steps:
- name: Set up Rust
uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.config.rust }}
- uses: actions/checkout@v2
- uses: r-lib/actions/setup-r@v2
with:
use-public-rspm: true
- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: any::rcmdcheck
needs: check
- uses: r-lib/actions/setup-pandoc@v2
with:
pandoc-version: '2.17.1' # The pandoc version to download (if necessary) and use.
- uses: r-lib/actions/check-r-package@v2
with:
error-on: '"warning"'
- name: debug install
if: always()
run: cat ./check/*.Rcheck/00install.out