View source: R/dev-use_utils.R
Copy a template onto a destination while replacing expressions inside
triple curly braces {{{
and }}}
.
1 2 3 4 5 6 7 | dev_copy_template(
template,
destination,
overwrite = FALSE,
skip = TRUE,
envir = parent.frame()
)
|
template |
location inside the inst/template folder |
destination |
where rendered file will be located |
overwrite |
whether to overwrite the file if needed |
skip |
if exists and not overwrite, skip instead of error |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.