A facility for generating a comment block for inserting at the top of an
R script to insert a yaml header and for setting chunk options within scripts
to use the RStudio facility for automatically rendering scripts into documents.
Usage
yaml_header(title, author, ...)
chunk_options(...)
Arguments
title
A character string; if omitted may be supplied via the console
author
A character string; if omitted may be supplied via the console
...
Extra arguments, for yaml_header currently ignored; for chunk_options
comma separated chunk options
Value
An incomplete yaml header, or a line of chunk options, in the clipboard by default