libraries: Libraries for an object

librariesR Documentation

Libraries for an object

Description

All struct objects have a "libraries" slot, which is a character array of libraries required to use the object. The libraries method gathers libraries from an object and all struct objects that it inherits to generate a complete list.

Usage

libraries(obj)

## S4 method for signature 'struct_class'
libraries(obj)

Arguments

obj

a struct object

Value

a character array of R packages needed by the object

Examples

M = example_model()
libraries(M)

computational-metabolomics/struct documentation built on March 27, 2024, 4:26 p.m.