Skip to content

Improve narrative flow, clarify demonstratives, and fix model setup gaps #4254

Improve narrative flow, clarify demonstratives, and fix model setup gaps

Improve narrative flow, clarify demonstratives, and fix model setup gaps #4254

---
# Thin caller of the canonical Morrison-Lab/gha reusable spellcheck workflow.
#
# The reusable workflow wraps the same upstream action this file used to call
# (insightsengineering/r-spellcheck-action), and adds: a workaround for that
# action's unquoted-`exclude` glob bug, an RSPM binary install of {spelling}
# instead of compiling hunspell from source on every run, r-lib/actions in
# place of the rocker container (sharing the toolchain cache with other jobs),
# SHA-pinned actions, and a job timeout.
#
# The job id below is `Spellcheck` so the reported check context is
# `Spellcheck / spellcheck`; the repository ruleset's required-check context
# must be updated from the old bare `Spellcheck` when this merges.
name: Spellcheck
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
Spellcheck:
permissions:
contents: read
uses: Morrison-Lab/gha/.github/workflows/spellcheck.yml@v2
with:
# Required because this repo is an renv project. `setup-r-dependencies`
# detects `renv.lock` + `.Rprofile` and installs {spelling} into the renv
# project library, but the reusable workflow's default
# `additional-options: --vanilla` makes the scan skip `.Rprofile` -- so
# renv never activates, that library is never on `.libPaths()`, and the
# run dies with "there is no package called 'spelling'". Clearing the
# option lets R read `.Rprofile`, which activates renv and puts the
# library back on the path. Tracked upstream as Morrison-Lab/gha#620.
additional-options: ''