Skip to content

Merge branch 'CRAN' into master (exclude workflows) #15

Merge branch 'CRAN' into master (exclude workflows)

Merge branch 'CRAN' into master (exclude workflows) #15

Workflow file for this run

# 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}