Add helpful instructions to direct user if cmdstanr is not installed β¦ #565
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: Check π | |
on: | |
pull_request: | |
types: | |
- opened | |
- synchronize | |
- reopened | |
- ready_for_review | |
branches: | |
- main | |
- develop | |
push: | |
branches: | |
- main | |
- develop | |
workflow_dispatch: | |
jobs: | |
audit: | |
name: Audit Dependencies π΅οΈββοΈ | |
uses: insightsengineering/r.pkg.template/.github/workflows/audit.yaml@main | |
r-cmd: | |
name: R CMD Check 𧬠| |
uses: insightsengineering/r.pkg.template/.github/workflows/build-check-install.yaml@main | |
secrets: | |
REPO_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
additional-env-vars: | | |
CMDSTAN=/root/.cmdstan | |
CMDSTAN_PATH=/root/.cmdstan | |
CMDSTANR_NO_VER_CHECK=true | |
JMPOST_CACHE_DIR=${{ github.workspace }}/.cache | |
additional-caches: | | |
${{ github.workspace }}/.cache | |
coverage: | |
name: Coverage π | |
uses: insightsengineering/r.pkg.template/.github/workflows/test-coverage.yaml@main | |
secrets: | |
REPO_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
additional-env-vars: | | |
CMDSTAN=/root/.cmdstan | |
CMDSTAN_PATH=/root/.cmdstan | |
CMDSTANR_NO_VER_CHECK=true | |
linter: | |
if: github.event_name == 'pull_request' | |
name: SuperLinter π¦ΈββοΈ | |
uses: insightsengineering/r.pkg.template/.github/workflows/linter.yaml@main | |
roxygen: | |
name: Roxygen π Ύ | |
uses: insightsengineering/r.pkg.template/.github/workflows/roxygen.yaml@main | |
secrets: | |
REPO_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
auto-update: true | |
gitleaks: | |
name: gitleaks π§ | |
uses: insightsengineering/r.pkg.template/.github/workflows/gitleaks.yaml@main | |
spelling: | |
if: github.event_name == 'pull_request' | |
name: Spell Check π | |
uses: insightsengineering/r.pkg.template/.github/workflows/spelling.yaml@main | |
links: | |
if: github.event_name == 'pull_request' | |
name: Check URLs π | |
uses: insightsengineering/r.pkg.template/.github/workflows/links.yaml@main | |
version: | |
name: Version Check π | |
uses: insightsengineering/r.pkg.template/.github/workflows/version.yaml@main | |
licenses: | |
name: License Check π | |
uses: insightsengineering/r.pkg.template/.github/workflows/licenses.yaml@main | |
grammar: | |
if: github.event_name == 'pull_request' | |
name: Grammar Check π€ | |
uses: insightsengineering/r.pkg.template/.github/workflows/grammar.yaml@main |