removePackage: Removes package from SyncroSim installation

removePackageR Documentation

Removes package from SyncroSim installation

Description

Removes package from SyncroSim installation

Usage

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

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

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

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

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

Value

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

Examples

## Not run: 
# Set SyncroSim Session
mySession <- session()

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

## End(Not run)


rsyncrosim documentation built on Oct. 7, 2023, 9:08 a.m.