-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Brad Cannell edited this page Feb 1, 2023
·
5 revisions
Welcome to the templates wiki!
After you make changes to the package:
- Save.
- Update documentation.
devtools::document()
- Run build checks.
devtools::check()
- Build package.
devtools::build()
Notes on adding Rmd templates to the package.
R Notes on creating R Markdown templates
Notes on adding qmd templates to the package.
- As of this writing, there isn't a way to add a qmd template to RStudio's
New Quarto Document
dialogue box the way you can with Rmd documents. - Following the advice on this blog post, I was able to create a qmd template file.
- The catch is you also have to write a function to load the template file. For example, to load the "No Output" template file, I have to submit
templates::new_quarto_no_output()
to the console. - I was also able to create an addin for the function using these instructions