Description Usage Arguments Details Value Author(s) See Also Examples
View source: R/export_template.R
Export to a file a built-in script template. This way it's possible to adapt it to user's needs. Basically, it's a wrapper for the file.copy
function.
1 | export_template(builtin = "template_en.R", to = "./template_en.R")
|
builtin |
name of the built-in template. See details. |
to |
path where the file have to be written |
Actually, built-in templates are : \Sexpr{library(vartors);paste0(list_templates(), collapse = ", ")}
Return the path where the file template was written. If there is an error, return FALSE.
Joris Muller
1 2 3 4 5 | # export the default built-in template
## Not run:
export_template("template_to_edit.R", "en.R")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.