Update package for CRAN publication. #15
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: gptoolsStan R package | |
on: | |
push: | |
branches: ["main"] | |
pull_request: | |
branches: ["main"] | |
workflow_dispatch: | |
env: | |
cmdstanVersion: "2.31.0" | |
jobs: | |
build: | |
name: Build | |
strategy: | |
matrix: | |
runner: | |
- ubuntu-latest | |
- windows-latest | |
- macos-latest | |
runs-on: ${{ matrix.runner }} | |
steps: | |
- uses: "actions/checkout@v4" | |
- name: Install Windows dependencies. | |
run: choco install pandoc | |
if: matrix.runner == 'windows-latest' | |
- name: Install macOS dependencies. | |
run: brew install pandoc | |
if: matrix.runner == 'macos-latest' | |
- uses: "r-lib/actions/setup-r@v2" | |
- uses: r-lib/actions/setup-r-dependencies@v2 | |
with: | |
extra-packages: | | |
any::rcmdcheck | |
needs: check | |
- uses: r-lib/actions/check-r-package@v2 |