Get_Code_Declare_widgets: Code for declaring widgets.default.values reactive variable

View source: R/code_used_by_external_modules.R

Get_Code_Declare_widgetsR Documentation

Code for declaring widgets.default.values reactive variable

Description

This function create the source code needed inside a module to declare the reactive variable called 'widgets.default.values'. # Declaration of the variables that will contain the values of the widgets To avoid confusion, the first string is the name of the step while the second is the name of the widget

Usage

Get_Code_Declare_widgets(widgets.names = NULL)

Arguments

widgets.names

A 'list' containing the names of the widgets in all steps of the module.

Author(s)

Samuel Wieczorek

Examples

## Not run: 
widgets <- paste0('widget', 1:3)
code <- Get_Code_Declare_widgets(widgets)
cat(code)

## End(Not run)


samWieczorek/Magellan documentation built on March 30, 2022, 3:40 a.m.