key: value
pairs, which contain some basic
information about the template, just much like the
DESCRIPTION
file in R
packages does.
Current implementation supports following fields:tpl.meta(fp, fields = NULL, use.header = FALSE,
trim.white = TRUE)
tpl.find
for details)fp
argument contains
only header data and not the whole templatetitle
- a template title
(required)author
- author's (nick)name
(required)description
- template
description (required)email
- author's
email addresspackages
- YAML list of
packages required by the template (if any)example
- example calls torapport
function, including template data and inputs As of version 0.5
, dataRequired
field is
deprecated. rapport
function will automatically
detect if the template requires a dataset based on the
presence of standalone inputs.