Provides a button that triggers downloading a report.
For more information, refer to the vignette: vignette("simpleReporter", "teal.reporter").
Arguments
- id
(
character(1)) thisshinymodule's id.- label
(
character(1)) label of the button. By default it is empty.- reporter
(
Reporter) instance.- global_knitr
(
list) ofknitrparameters (passed toknitr::opts_chunk$set) for customizing the rendering process.- rmd_output
(
character) vector withrmarkdownoutput types, by default all possiblepdf_document,html_document,powerpoint_presentation, andword_document. If vector is named then those names will appear in theUI.- rmd_yaml_args
(
named list) withRmdyamlheader fields and their default values. Thislistwill result in the custom subset of UI inputs for the download reporter functionality. Defaultlist(author = "NEST", title = "Report", date = Sys.Date(), output = "html_document", toc = FALSE). Thelistmust include at least"output"field. The default value for"output"has to be in thermd_outputargument.