Learn R Programming

rsyncrosim (version 1.5.0)

removePackage: Removes package from SyncroSim installation

Description

Removes package from SyncroSim installation

Usage

removePackage(name, session = NULL, force = FALSE)

# S4 method for ANY,character removePackage(name, session = NULL, force = FALSE)

# S4 method for ANY,missingOrNULL removePackage(name, session = NULL, force = FALSE)

# S4 method for ANY,Session removePackage(name, session = NULL, force = FALSE)

Value

Invisibly returns TRUE upon success (i.e.successful removal) and FALSE upon failure.

Arguments

name

character. The name of the package to remove

session

Session object. If NULL (default), session() will be used

force

logical. If TRUE, remove without requiring confirmation from the user. Default is FALSE

Examples

Run this code
if (FALSE) {
# Set SyncroSim Session
mySession <- session()

# Remove package from SyncroSim Session
removePackage("stsim", mySession, force = FALSE)
}

Run the code above in your browser using DataLab