This function receives the metadata information from getMetadata
and
prints them in a format for an Rmd report.
In general, any list could be called as long as it is composed by two elements:
summaryInfo
: an R object.
datasetInfo
: a data.frame or a matrix.
The first (summaryInfo
) is printed as kable
object
and the second (datasetInfo
) is printed as hide/show html button with
the function collapseHtmlContent
.
# S3 method for clinDataReviewMetadata
knit_print(x, options = list(), ...)
Nothing. The tables are ready to be printed in Rmd.
html code to include metadata in a report
List of two elements named summaryInfo
and
datasetInfo
.
List of extra options to be passed as chunk options.
The option dateReportRun
sets to true prints the date and time of the report creation.
Extra arguments to be passed.