wflow_pre_processor {workflowr} | R Documentation |
pre_processor function for workflowr
Description
This is the pre_processor
function that wflow_html
passes to the function output_format
from the
package rmarkdown. For advanced usage only.
Usage
wflow_pre_processor(
metadata,
input_file,
runtime,
knit_meta,
files_dir,
output_dir
)
Arguments
metadata |
The metadata specified in the YAML header of the R Markdown file |
input_file |
Name of Markdown file created by
|
runtime |
The runtime target for rendering. The |
knit_meta |
(This option is reserved for expert use.) Metadata generated by knitr. |
files_dir |
Directory for saving intermediate files |
output_dir |
The output directory for the rendered |
Details
If you'd like to combine workflowr with another R Markdown output format, you
may need to use wflow_pre_processor
. This function only has minor
effects on the style of the resulting HTML page, and is not essential for
using workflowr.
See Also
wflow_html
, wflow_pre_knit
,
wflow_post_knit