libraries: Libraries for an object

Description Usage Arguments Value Examples

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

1
2
3
4
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

1
2

struct documentation built on Nov. 8, 2020, 8:14 p.m.