FM_fetch_log_path {formods}R Documentation

Fetches the Path to the Log File

Description

Use this to get the path to the formods log file

Usage

FM_fetch_log_path(state)

Arguments

state

module state after yaml read

Value

Character string with the path to the log file.

Examples

# Within shiny a session variable will exist,
# this creates one here for testing purposes:
sess_res = UD_test_mksession(session=list())
session = sess_res$session
# This function assumes that some module state exists:
state = UD_init_state(
 FM_yaml_file  = system.file(package = "formods",
                             "templates",
                             "formods.yaml"),
 MOD_yaml_file = system.file(package = "formods",
                             "templates",
                             "UD.yaml"),
 id = "UD",
 session = session)
FM_fetch_log_path(state)

[Package formods version 0.1.6 Index]