pharmaR / riskmetric

Metrics to evaluate the risk of R packages
https://pharmar.github.io/riskmetric/
Other
161 stars 31 forks source link

Add github action for spellcheck #277

Open parmsam-pfizer opened 1 year ago

parmsam-pfizer commented 1 year ago

Here's an example from the recent R/Pharma conference CI/CD workshop.

AARON-CLARK commented 1 year ago

Hi, just stumbled upon this issue. If you were interested in something slightly simpler that avoids adding another CI workflow, the {riskassessment} app team adopted a simple spelling check in our tests/ folder so the GHA that runs our R CMD Check picks it up.

if(requireNamespace('spelling', quietly = TRUE))
  spelling::spell_check_test(vignettes = TRUE, error = TRUE, skip_on_cran = TRUE)