This is the post_knit
function that wflow_html
passes to
the function output_format
from the package
rmarkdown. For advanced usage only.
wflow_post_knit(metadata, input_file, runtime, encoding, ...)
metadata | The metadata specified in the YAML header of the R Markdown file |
---|---|
input_file | Name of R Markdown file |
runtime | The runtime target for rendering. The |
encoding | Ignored. The encoding is always assumed to be UTF-8. |
... | arguments passed to the |
If you'd like to combine workflowr with another R Markdown output format, you
may need to use wflow_post_knit
. This function fixes the path to the R
Markdown file (which is manipulated by wflow_pre_knit
).