Skip to contents

[Experimental] 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_document", "pdf_document", "powerpoint_presentation",
    "word_document"),
  rmd_yaml_args = list(author = "NEST", title = "Report", date =
    as.character(Sys.Date()), output = "html_document")
)

Arguments

id

character(1) this shiny module's id.

reporter

Reporter instance.

rmd_output

character vector with rmarkdown output types, by default all possible c("pdf_document", "html_document", "powerpoint_presentation", "word_document").

rmd_yaml_args

named list vector with Rmd yaml header fields and their default values. Default list(author = "NEST", title = "Report", date = Sys.Date(), output = "html_document"). Please update only values at this moment.