# These would be the Shiny input and session variables
input = list()
session = list()
state = FG_init_state(
FM_yaml_file = system.file(package = "formods",
"templates",
"formods.yaml"),
MOD_yaml_file = system.file(package = "formods",
"templates",
"FG.yaml"),
id = "FG",
id_UD = "UD",
id_DW = "DW",
session = session)
state
Run the code above in your browser using DataLab