server for downloading the Report.
For more details see the vignette: vignette("simpleReporter", "teal.reporter").
Usage
download_report_button_srv(
id,
reporter,
rmd_output = c(html = "html_document", pdf = "pdf_document", powerpoint =
"powerpoint_presentation", word = "word_document"),
rmd_yaml_args = list(author = "NEST", title = "Report", date =
as.character(Sys.Date()), output = "html_document")
)Arguments
- id
character(1)thisshinymodule's id.- reporter
Reporterinstance.- rmd_output
charactervector withrmarkdownoutput types, by default all possiblec("pdf_document", "html_document", "powerpoint_presentation", "word_document").pdflatexhas to be installed to use the"pdf_document"output. If vector is named then the names will appear in theUI.- rmd_yaml_args
named listvector withRmdyamlheader fields and their default values. Defaultlist(author = "NEST", title = "Report", date = Sys.Date(), output = "html_document"). Please update only values at this moment.