FM_fetch_deps: Fetches Dependency Information

View source: R/formods.R

FM_fetch_depsR Documentation

Fetches Dependency Information

Description

For a given state and session this function will determine the module ids that are dependent as well as any packages the module elements might depend on.

Usage

FM_fetch_deps(state, session)

Arguments

state

Current module state after yaml file has been read

session

Shiny session variable

Value

list with the following elements:

  • mod_ids Dependent module ids.

  • packages List of package dependencies.

  • package_code Library commands to load packages.

Examples

# We need a Shiny session object to use this function:
sess_res = UD_test_mksession()
session  = sess_res$session
state    = sess_res$state
mod_deps = FM_fetch_deps(state, session)

formods documentation built on April 12, 2025, 1:57 a.m.