View source: R/reporting-render-params.R
| forceParams | R Documentation |
This function is only useful if some
parameters should be lazy-evaluated in the report.
These parameters should have the class: r-lazy.
A typical use case is a parameter that
consists of a R expression
depending on objects created in a template
report (typically data).
Parameters are searched in the environment
in which this function is called from.
forceParams(params)
params |
List of parameters as obtained
via the |
Input parameter list, with
object(s) of class r-lazy
evaluated.
Laure Cougnaud
getParamsFromConfig
Other clinical data reporting:
checkReportTitles(),
getMdHeader(),
getParamsFromConfig(),
gitbook_clinDataReview_report(),
html_clinDataReview_report(),
knitPrintClinDataReview(),
postProcessReport(),
render_clinDataReviewReport()
data <- mtcars
params <- list(label = "Cars dataset", nrow = structure("nrow(data)", class = "r-lazy"))
str(params)
str(forceParams(params))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.