View source: R/reporting-render-params.R
getParamsFromConfig | R Documentation |
Please note that the information from this config file
and the general config file: config.yml
are considered.
In case parameters are defined both in the general
and specific config files, the parameter from the
general config file is ignored.
getParamsFromConfig(
configFile,
configDir = file.path(inputDir, "config"),
inputDir = "."
)
configFile |
String with filename of the config file of interest in YAML format. |
configDir |
String with directory with config files,
by default a 'config' folder in |
inputDir |
String with input directory, working directory by default. |
List with parameters from the specified configFile
and the general config file: config.yml
.
There are two specific handlers:
parameters tagged with '[param] !r [value]' are evaluated in R, and their evaluated value is returned
parameters tagged with '[param] !r-lazy [value]'
are imported as character, and need to be further process
with forceParams
inside the report.
Parameters with YAML type 'r-lazy' are imported as character, with this additional class.
Laure Cougnaud
forceParams
Other clinical data reporting:
checkReportTitles()
,
forceParams()
,
getMdHeader()
,
gitbook_clinDataReview_report()
,
html_clinDataReview_report()
,
knitPrintClinDataReview()
,
postProcessReport()
,
render_clinDataReviewReport()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.