lockbox (version 0.2.5.2)

lockbox: Re-organize Search Path to Use Lockbox Library.

Description

The lockbox package provides a separate directory, by default under "~/.R/lockbox" (although this is configurable from the global option "lockbox.directory") that maintains different versions of packages on demand. When a given set of versioned packages is requested, lockbox will unload all other packages and ensure only the given set of packages with their respective versions are present.

Bundler-style Package Management for R.

Usage

lockbox(file_or_list, env = getOption("lockbox.env", "!packages"))

Arguments

file_or_list

character or list. A yaml-based lock file or its parsed out list format. This set of packages will be loaded into the search path and all other packages will be unloaded.

env

character. The name of the entry in the lockfile that contains package information.

Details

Since lockbox maintains a separate directory for its library, it will not interfere with R's usual packages or libraries when R is restarted.