compile_reports {reportfactory} | R Documentation |
Compile one or several R Markdown reports
Description
Compile one or several R Markdown reports
Usage
compile_reports(
reports = NULL,
factory = ".",
ignore.case = FALSE,
params = NULL,
quiet = TRUE,
subfolder = NULL,
timestamp = format(Sys.time(), "%Y-%m-%d_T%H-%M-%S"),
...
)
Arguments
reports |
Either a regular expression (passed directly to |
factory |
The path to the report factory or a folder within the desired factory. Defaults to the current directory. |
ignore.case |
if FALSE (default), the report pattern matching is case sensitive and if TRUE, case is ignored during matching. |
params |
A named list of parameters to be used for compiling reports,
passed to |
quiet |
A logical indicating if messages from R Markdown compilation
should be displayed; |
subfolder |
Name of subfolder to store results. Not required but helps distinguish output if mapping over multiple parameters. If provided, "subfolder" will be placed before the timestamp when storing compilation outputs. |
timestamp |
A character indicating the date-time format to be used for timestamps. Timestamps are used in the folder structure of outputs. If NULL, the format format(Sys.time(), "%Y-%m-%d_T%H-%M-%S") will be used. Note that the timestamp corresponds to the time of the call to compile_reports(), so that multiple reports compiled using a single call to the function will have identical timestamps. |
... |
further arguments passed to |
Value
Invisble NULL (called for side effects only).