Update README.md #450
This file contains hidden or 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
| name: R-CMD-check | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| R-CMD-check: | |
| if: "!contains(github.event.head_commit.message, 'chore: release')" | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: r-lib/actions/setup-r@v2 | |
| with: | |
| use-public-rspm: true | |
| - name: Install system deps | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y libudunits2-dev libgdal-dev libgeos-dev libproj-dev | |
| - name: Install R deps (cached) | |
| uses: r-lib/actions/setup-r-dependencies@v2 | |
| with: | |
| extra-packages: any::rcmdcheck | |
| needs: check | |
| - name: Validate Collate | |
| run: source("tools/validate-collate.R") | |
| shell: Rscript {0} | |
| - name: R CMD check | |
| run: rcmdcheck::rcmdcheck(args = "--no-manual", error_on = "warning") | |
| shell: Rscript {0} |