reporter_previewer_module: Create a 'teal' module for previewing a report

View source: R/reporter_previewer_module.R

reporter_previewer_moduleR Documentation

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())

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.

Value

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


teal documentation built on Aug. 21, 2025, 5:58 p.m.