FG_test_mksession {formods}R Documentation

Populate Session Data for Module Testing

Description

Populates the supplied session variable for testing.

Usage

FG_test_mksession(
  session,
  id = "FG",
  id_UD = "UD",
  id_DW = "DW",
  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

full_session

Boolean to indicate if the full test session should be created (default TRUE).

Value

list with the following elements

Examples


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


[Package formods version 0.1.4 Index]