R #155
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
--- | |
# This example file will enable R language checks on push or PR to the main | |
# branch. | |
# It will also run the checks every weeknight at midnight UTC | |
# | |
# Note the @main in `uses:` on the last line. This will call the latest version | |
# of the workflow from the `main` brnach in the RMI-PACTA/actions repo. You can | |
# also specify a tag from that repo, or a commit SHA to pin action versions. | |
on: | |
pull_request: | |
push: | |
branches: [main] | |
schedule: | |
- cron: '0 0 * * 1,2,3,4,5' | |
workflow_dispatch: | |
name: R | |
jobs: | |
R-package: | |
name: R Package Checks | |
uses: RMI-PACTA/actions/.github/workflows/R.yml@main | |
secrets: inherit | |
with: | |
do-compare-versions: false | |
revdeps: | | |
[ | |
{"pkg": "RMI-PACTA/r2dii.plot"}, | |
{"pkg": "r2dii.plot"} | |
] | |
dev-r-cmd-check: | |
name: R CMD Check (dev versions) | |
uses: RMI-PACTA/actions/.github/workflows/R-CMD-check.yml@main | |
with: | |
upgrade-packages: 'TRUE' | |
cache-version: 'dev' | |
remotes: | | |
RMI-PACTA/r2dii.data | |
RMI-PACTA/r2dii.match |