Create a teal module for previewing a report
Source: R/reporter_previewer_module.R
reporter_previewer_module.RdThis function controls the appearance of the drop-down menu for the reporter. It is now deprecated in favor of the options:
teal.reporter.nav_buttons = c("preview", "download", "load", "reset")to control which buttons will be displayed in the drop-down.teal.reporter.rmd_output: passed toteal.reporter::download_report_button_srv()teal.reporter.rmd_yaml_args: passed toteal.reporter::download_report_button_srv()teal.reporter.global_knitr: passed toteal.reporter::download_report_button_srv()
Usage
reporter_previewer_module(label = "Report previewer", server_args = list())Arguments
- label
(
character(1)) Label shown in the navigation item for the module or module group. Formodules()defaults to"root". SeeDetails.- server_args
(named
list) Arguments will overwrite the defaultteal.reporteroptions described in the description.