Skip to content

Fixes

Fixes #82

# 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, development]
paths-ignore:
- 'README.**'
pull_request:
branches: [main, master, development]
paths-ignore:
- 'README.**'
name: R-CMD-check
jobs:
R-CMD-check:
runs-on: ubuntu-latest
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
R_KEEP_PKG_SOURCE: yes
steps:
- uses: actions/checkout@v3
- name: Checkout posteriordb repo
uses: actions/checkout@v2
with:
repository: stan-dev/posteriordb
path: posteriordb
- name: Set PDB path
run: export PDB_PATH=$GITHUB_WORKSPACE"/posteriordb";echo $PDB_PATH;echo PDB_PATH="$PDB_PATH" >> ~/.Renviron;ls $PDB_PATH
shell: bash
- uses: r-lib/actions/setup-pandoc@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/check-r-package@v2
with:
upload-snapshots: true