NCA_test_mksession {ruminate} | R Documentation |
Populate Session Data for Module Testing
Description
Populates the supplied session variable for testing.
Usage
NCA_test_mksession(
session,
id = "NCA",
id_UD = "UD",
id_DW = "DW",
id_ASM = "ASM",
full_session = TRUE
)
Arguments
session |
Shiny session variable (in app) or a list (outside of app) |
id |
An ID string that corresponds with the ID used to call the modules UI elements |
id_UD |
An ID string that corresponds with the ID used to call the UD modules UI elements |
id_DW |
An ID string that corresponds with the ID used to call the DW modules UI elements |
id_ASM |
An ID string that corresponds with the ID used to call the ASM modules UI elements |
full_session |
Boolean to indicate if the full test session should be created (default |
Value
list with the following elements
isgood: Boolean indicating the exit status of the function.
session: The value Shiny session variable (in app) or a list (outside of app) after initialization.
input: The value of the shiny input at the end of the session initialization.
state: App state.
rsc: The
react_state
components.
Examples
sess_res = NCA_test_mksession(session=list(), full_session=FALSE)