开发者

pkgdown and R Markdown templates

开发者 https://www.devze.com 2022-12-07 19:37 出处:网络
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 (

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号