removePackage: Removes package from SyncroSim installation

Description Usage Arguments Value Examples

Description

Removes package from SyncroSim installation

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
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

1
2
3
4
5
# Set SyncroSim Session
mySession <- session()

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

rsyncrosim documentation built on Oct. 28, 2021, 1:07 a.m.