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)
No return value, called for side effects.
Optional character vector of scripts. If empty will find
scripting making the s##_XXX.Rmd
convention. Must be .Rmd files
Logical (default = FALSE
). Overwrites existing vignettes
of the same name.
Uses of decision()
must pass without stopping so these must have
been run interactively prior to use of devtools::build_vignettes()
.