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

[Experimental]

This function wraps teal.reporter::reporter_previewer_ui() and teal.reporter::reporter_previewer_srv() into a teal_module to be used in teal applications.

If you are creating a teal application using init() then this module will be added to your application automatically if any of your teal_modules support report generation.

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 passed to teal.reporter::reporter_previewer_srv().

Value

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


teal documentation built on May 29, 2024, 10:11 a.m.