Learn R Programming

teal (version 1.1.0)

reporter_previewer_module: Create a teal module for previewing a report

Description

[Deprecated]

This 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 to teal.reporter::download_report_button_srv()

  • teal.reporter.rmd_yaml_args: passed to teal.reporter::download_report_button_srv()

  • teal.reporter.global_knitr: passed to teal.reporter::download_report_button_srv()

Usage

reporter_previewer_module(label = "Report Previewer", server_args = list())

Value

teal_module (extended with teal_module_previewer class) containing the teal.reporter previewer functionality.

Arguments

label

(character(1)) Label shown in the navigation item for the module or module group. For modules() defaults to "root". See Details.

server_args

(named list) Arguments will overwrite the default teal.reporter options described in the description.