pkgdown and R Markdown templates
For a package containing multiple R Markdown templates, is it possible to include the rendered versions of these templates (skeleton.Rmd
) as vignettes / articles in the package documentation website (set up using 开发者_StackOverflow中文版pkgdown
). I'd like to get a a nice overview of all the templates which are available in the package.
I want to avoid creating new vignettes which copy/paste the code from the R Markdown templates to vignettes/articles. Ideally, I'd just like to link them to the templates (skeleton.Rmd
in the inst/rmarkdown/templates
directory).
Any suggestions on how I can achieve this?
Thanks!
Originally posted on 2020-08-19 on Posit Community but without response.
精彩评论