View source: R/reporting-render-md.R
renderChapter | R Documentation |
Render one chapter of a clinical report, based on a configuration file
renderChapter(
configFile,
configGeneralParams = getParamsFromConfig(configFile = "config.yml", configDir =
configDir, inputDir = inputDir),
configDir = file.path(inputDir, "config"),
indexPath = file.path(inputDir, "index.Rmd"),
inputDir = ".",
intermediateDir = "./interim",
logFile = NULL,
verbose = TRUE,
...
)
configFile |
String with filename of the config file of interest in YAML format. |
configGeneralParams |
List with parameters from the general config file |
configDir |
String with directory with config files,
by default a 'config' folder in |
indexPath |
String with path to the index file,
by default 'index.Rmd' in |
inputDir |
String with input directory, working directory by default. |
intermediateDir |
String with intermediate directory ('interim'
by default), where
markdown files and rds file specifying Js libraries (with |
logFile |
(optional) String with path to a log file, where output (also error/messages/warnings) should be stored. If specified, the entire output is re-directed to this file. |
verbose |
Logical, if TRUE (FALSE by default) progress messages are printed during the report execution. |
... |
options passed to |
No output file, the Markdown report for the chapter
and the knit_meta
object is available in the
intermediateDir
directory.
If the input parameters are not correctly extracted, NULL is returned.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.