Skip to content

V1.0.2

V1.0.2 #3

Workflow file for this run

# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
#
# See https://github.com/r-lib/actions/tree/master/examples#readme for
# additional example workflows available for the R community.
name: R
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
permissions:
contents: read
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, windows-latest] # Added windows-latest to the matrix
r-version: ['4.1.1', '4.3.0'] # Use recent versions of R
steps:
- uses: actions/checkout@v4
- name: Set up R ${{ matrix.r-version }}
uses: r-lib/actions/setup-r@v2
with:
r-version: ${{ matrix.r-version }}
- name: Install system dependencies on macOS
if: runner.os == 'macOS'
run: |
brew install qpdf
brew install pkg-config
brew install checkbashisms
- name: Install system dependencies on Windows
if: runner.os == 'Windows'
run: |
choco install qpdf
choco install pkgconfiglite
choco install make
- name: Install R package dependencies
run: |
install.packages(c("remotes", "rcmdcheck"))
remotes::install_deps(dependencies = TRUE)
shell: Rscript {0}
- name: Check
run: rcmdcheck::rcmdcheck(args = "--no-manual", error_on = "error")
shell: Rscript {0}