createOutputYaml: Create a output YAML file
Description
This file containing the contents of the
output
field of the YAML header of a Markdown file.
It can be passed to the output_yaml
parameter
of the render
function.
Usage
createOutputYaml(indexPath, outputDir)
Value
String with file to the _output.yml
file
in a temporary folder.
Arguments
- indexPath
String with path to the index file,
by default 'index.Rmd' in inputDir
.
- outputDir
String with output directory,
('report' by default).