You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
747 B

  1. # For help debugging build failures open an issue on the RStudio community with the 'github-actions' tag.
  2. # https://community.rstudio.com/new-topic?category=Package%20development&tags=github-actions
  3. on:
  4. push:
  5. branches:
  6. - batman
  7. pull_request:
  8. branches:
  9. - batmsn
  10. name: R-CMD-check
  11. jobs:
  12. R-CMD-check:
  13. runs-on: macOS-latest
  14. steps:
  15. - uses: actions/checkout@v2
  16. - uses: r-lib/actions/setup-r@master
  17. - name: Install dependencies
  18. run: |
  19. install.packages(c("remotes", "rcmdcheck"))
  20. remotes::install_deps(dependencies = TRUE)
  21. shell: Rscript {0}
  22. - name: Check
  23. run: rcmdcheck::rcmdcheck(args = "--no-manual", error_on = "error")
  24. shell: Rscript {0}