loadDependencies: Load External Dependencies Safely and Dynamically

Description Usage Arguments Value Note

Description

“loadDependencies” is a helper function for loading external dependencies at runtime.

Usage

1
  loadDependencies(..., character.only = FALSE)

Arguments

...

A collection of packages to load. If “character.only”=FALSE, these can be entered symbolically (e.g. loadDependencies(MASS)). Otherwise, these arguments are character-strings.

character.only

A boolean specifying whether the arguments are strictly character-strings.

Value

TRUE (invisibly) if successful. Otherwise the script is stopped.

Note

This is used by Zelig developers to dynamically load “dependent” pacakges at runtime.


IQSS/Zelig4 documentation built on May 9, 2019, 9:13 a.m.