Description Usage Arguments See Also
To render your R Markdown documents in a temporary directory, you need to add
a file index.Rmd
that specifies site: tmpsite::tmp_site
in the
YAML header. build_rmd_in_tmp
creates this file.
1 | render_rmd_in_tmp(directory = ".")
|
directory |
The path to the directory that contains the R Markdown files that should be rendered in a temporary directory. Default is current working directory. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.