Skip to content

R-CMD-check-CRON

R-CMD-check-CRON #670

# This smaller action (only r-release, only macOS) is scheduled to run daily
on:
schedule:
# Run at 1:35am UTC = 11:30 Melb std time
- cron: '35 1 * * THU'
name: R-CMD-check-CRON
jobs:
R-CMD-check:
runs-on: macOS-latest
steps:
- uses: actions/checkout@v2
- uses: r-lib/actions/setup-r@v2
- uses: r-lib/actions/setup-pandoc@v2
- name: Install dependencies
run: |
install.packages(c("remotes", "rcmdcheck"))
remotes::install_deps(dependencies = TRUE)
shell: Rscript {0}
- name: Check
run: rcmdcheck::rcmdcheck(args = "--no-manual", error_on = "error")
shell: Rscript {0}