Skip to content

CI: Check if package builds #2

CI: Check if package builds

CI: Check if package builds #2

Workflow file for this run

name: R Package Check
on:
push:
branches: [ main, master ]
pull_request:
branches: [ main, master ]
jobs:
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0 # Fetch all history for all tags and branches
- name: Setup R
uses: r-lib/actions/setup-r@v2
with:
use-public-rspm: true # Use RStudio's public package manager for faster installs
- name: Install dependencies
run: |
install.packages("remotes")
remotes::install_deps(dependencies = TRUE)
- name: Check package
run: |
R CMD build .
R CMD check *tar.gz