Create a teal
module for previewing a report
Source: R/reporter_previewer_module.R
reporter_previewer_module.Rd
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. Formodules()
defaults to"root"
. SeeDetails
.- server_args
(named
list
) Arguments passed toteal.reporter::reporter_previewer_srv()
.