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 May 19, 2017, 10:05 a.m.
Search within the switchr package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.