enableAddon: Enable addon package(s)

Description Usage Arguments Value See Also Examples

Description

Enable addon package(s) of a SsimLibrary.

Usage

1
2
3
4
5
6
7
enableAddon(ssimLibrary, name)

## S4 method for signature 'character'
enableAddon(ssimLibrary, name)

## S4 method for signature 'SsimLibrary'
enableAddon(ssimLibrary, name)

Arguments

ssimLibrary

SsimLibrary object

name

character string or vector of addon name(s)

Value

Invisibly returns TRUE upon success (i.e.successful activation of the addon) or FALSE upon failure.

See Also

addon

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
# Install "stsim" SyncroSim package
addPackage("stsim")

# Specify file path and name of new SsimLibrary
myLibraryName <- file.path(tempdir(), "testlib")

# Set up a SyncroSim Session, SsimLibrary, and Project
mySession <- session()
myLibrary <- ssimLibrary(name = myLibraryName, session = mySession, 
                         package = "stsim")

# Enable add on package
enableAddon(myLibrary, c("stsimsf"))
addon(myLibrary)

# Disable add on package
disableAddon(myLibrary, c("stsimsf"))
addon(myLibrary)

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