Skip to content

Merge pull request #275 from AlexsLemonade/jashapiro/unslim-a-bit #23

Merge pull request #275 from AlexsLemonade/jashapiro/unslim-a-bit

Merge pull request #275 from AlexsLemonade/jashapiro/unslim-a-bit #23

# For help debugging build failures open an issue on the RStudio community with the 'github-actions' tag.
# https://community.rstudio.com/new-topic?category=Package%20development&tags=github-actions
on:
push:
branches:
- main
- master
name: R-CMD-check
jobs:
R-CMD-check:
runs-on: ubuntu-22.04
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: Checkout repo
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up R
uses: r-lib/actions/setup-r@v2
with:
use-public-rspm: true
- name: Remove renv
run: rm -f renv.lock .Rprofile
- name: Set up Pandoc
uses: r-lib/actions/setup-pandoc@v2
- name: Set up dependencies
uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: any::rcmdcheck
needs: check
- name: Check package
uses: r-lib/actions/check-r-package@v2
with:
args: 'c("--no-manual")'