Moved robots.txt to pkgdown favicon dir for proper build copy and del… #21
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
| # Workflow derived from https://github.com/r-lib/actions/tree/v2/examples | |
| # Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help | |
| on: | |
| push: | |
| pull_request: | |
| workflow_dispatch: | |
| name: spell-check | |
| jobs: | |
| spell-check: | |
| runs-on: ubuntu-latest | |
| env: | |
| GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: r-lib/actions/setup-r@v2 | |
| with: | |
| use-public-rspm: true | |
| - uses: r-lib/actions/setup-r-dependencies@v2 | |
| with: | |
| extra-packages: any::spelling | |
| needs: check | |
| - name: Spell check | |
| run: | | |
| results <- spelling::spell_check_package() | |
| if (nrow(results) > 0) { | |
| print(results) | |
| stop("Spelling errors found. Add words to inst/WORDLIST if intentional.") | |
| } | |
| shell: Rscript {0} |