ropensci / spelling

Tools for Spell Checking in R
https://docs.ropensci.org/spelling
Other
107 stars 25 forks source link

Spell check templates in package #39

Open cwickham opened 5 years ago

cwickham commented 5 years ago

I have some Rmarkdown templates in inst/templates in my package.

Is there was a way to get spelling::spell_check_package() to also check these files?

jeroen commented 5 years ago

Are they regular Rmd files? Can you point me to the example pkg?

Bisaloo commented 1 year ago

I would be interested in this as well.

A good example could be the rticles package: https://github.com/rstudio/rticles.

Templates are here: https://github.com/rstudio/rticles/tree/main/inst/rmarkdown/templates.

A specific example could be: https://github.com/rstudio/rticles/blob/main/inst/rmarkdown/templates/informs/skeleton/skeleton.Rmd

The folder structure is documented in the Rmarkdown definitive guide: https://bookdown.org/yihui/rmarkdown/template-structure.html