removeLib: removeLib

Description Usage Arguments Value Note Examples

View source: R/removeLibrary.R

Description

Remove a switchr library and update the manifest of existing libraries

Usage

1
removeLib(name = NULL, repos = NULL, compEnv = NULL, fromStack = FALSE)

Arguments

name

The name of the switchr library to remove

repos

the url used to seed the library

compEnv

a SwitchrCtx representing the library to remove

fromStack

Whether the library should be removed if it currently appears in the Context stack Defaults to false.

Value

NULL, called for its side-effect of removing/destroying a switchr library

Note

Only one of name, repos and compEnv should be specified. An error will be thrown otherwise.

Examples

1
2
3
4
## Not run: 
removeLib("mylibrary")

## End(Not run)

switchr documentation built on Nov. 17, 2017, 7:54 a.m.