View source: R/rmd_to_vignette.R
rmd_to_vignettes | R Documentation |
Copies (by default) all scripts s01_XXX.Rmd
, s02_XXX.Rmd
into the
"vignettes" and reformats so they meet vignette standards. Use of
devtools::build_vignettes()
can then be used to build vignettes.
rmd_to_vignettes(script_files, overwrite = FALSE)
script_files |
Optional character vector of scripts. If empty will find
scripting making the |
overwrite |
Logical (default = |
Uses of decision()
must pass without stopping so these must have
been run interactively prior to use of devtools::build_vignettes()
.
No return value, called for side effects.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.