Remove rstan namespace imports #293
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
on: | |
push: | |
paths-ignore: | |
- 'misc/**' | |
name: On Push | |
jobs: | |
testthat: | |
runs-on: ubuntu-latest | |
container: | |
image: ghcr.io/${{ github.repository_owner }}/rbmi:latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: testthat | |
run: | | |
options(crayon.enabled = TRUE, cli.dynamic = FALSE) | |
devtools::test(stop_on_failure = TRUE, reporter = testthat::CheckReporter) | |
shell: Rscript {0} | |
document: | |
runs-on: ubuntu-latest | |
container: | |
image: ghcr.io/${{ github.repository_owner }}/rbmi:latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Document Code | |
run: | | |
options(crayon.enabled = TRUE, cli.dynamic = FALSE) | |
devtools::document() | |
shell: Rscript {0} | |
- name: Check Is Clean | |
shell: bash | |
run: | | |
git config --global --add safe.directory /__w/rbmi/rbmi | |
git status | |
if [ -z "$(git status --porcelain)" ]; then | |
echo "Is Clean" | |
else | |
echo "Changed Detected" | |
exit 2 | |
fi | |