# For help debugging build failures open an issue on the RStudio community with the 'github-actions' tag. # https://community.rstudio.com/new-topic?category=Package%20development&tags=github-actions on: push: branches: - batman pull_request: branches: - batman name: R-CMD-check jobs: R-CMD-check: runs-on: macOS-latest steps: - name: Checkout uses: actions/checkout@v2 - name: Install Zeek run: brew install zeek - name: RStats uses: r-lib/actions/setup-r@master - 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}