use_vignette_html | R Documentation |
Create 'Rmd' vignette templates for HTML or PDF output
use_vignette_html(destination = tempfile(fileext = ".Rmd"))
use_vignette_pdf(destination = tempfile(fileext = ".Rmd"))
destination |
character(1) file path to destination. The directory of the destination must already exist, and the file must not. The default creates a file in the temporary directory, and so is removed when the R session ends. |
use_vignette_html()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.