removeLib: removeLib

View source: R/removeLibrary.R

removeLibR Documentation

removeLib

Description

Remove a switchr library and update the manifest of existing libraries

Usage

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

## Not run: 
removeLib("mylibrary")

## End(Not run)

gmbecker/switchr documentation built on Feb. 24, 2023, 12:59 p.m.