Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spell check templates in package #39

Open
cwickham opened this issue Jul 26, 2019 · 2 comments
Open

Spell check templates in package #39

cwickham opened this issue Jul 26, 2019 · 2 comments

Comments

@cwickham
Copy link

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
Copy link
Member

jeroen commented Jul 29, 2019

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

@Bisaloo
Copy link
Member

Bisaloo commented Jun 19, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants