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 TRUE).

Value

list with the following elements

Examples

sess_res = NCA_test_mksession(session=list(), full_session=FALSE)

[Package ruminate version 0.2.4 Index]