Convert clinical data Markdown files to HTML
postProcessReport(
inputDir = ".",
configDir = file.path(inputDir, "config"),
indexPath = file.path(inputDir, "index.Rmd"),
extraDirs = getExtraDirs(inputDir = inputDir, configDir = configDir),
outputDir = "./report",
intermediateDir = "./interim",
mdFiles = NULL,
nCores = 1,
logFile = NULL,
verbose = TRUE,
...
)
String with path to the front page of the report.
String with input directory, working directory by default.
String with directory with config files,
by default a 'config' folder in inputDir
.
It should contain a general 'config.yml' file and dedicated
'config-[X].yml' for each chapter.
The order of each chapter is specified in the 'config' slot in the general
general 'config.yml'.
String with path to the index file,
by default 'index.Rmd' in inputDir
.
Character vector with extra directories required by
the report, directory with external images.
By default, the directories: 'figures', 'tables' and mentioned in the
'patientProfilePath' parameter of the
general config file are included.
All these folders should be available in inputDir
.
String with output directory, ('report' by default).
String with intermediate directory ('interim'
by default), where
markdown files and rds file specifying Js libraries (with knit_meta
) for
each sub report are stored.
(optional) Path to the Markdown
files that
should be converted. If specified, the specified config files
in configDir
are ignored.
Integer containing the number of cores used to render the report (1 by default). If more than 1, two steps of the report creation are run in parallel across chapters:
the rendering of the Rmarkdown file to Markdown
the conversion from Markdown to HTML
(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.
Logical, if TRUE (FALSE by default) progress messages are printed during the report execution.
Any parameters passed to render
,
for expert use only.
Laure Cougnaud
Other clinical data reporting:
checkReportTitles()
,
forceParams()
,
getMdHeader()
,
getParamsFromConfig()
,
gitbook_clinDataReview_report()
,
html_clinDataReview_report()
,
knitPrintClinDataReview()
,
render_clinDataReviewReport()