Unlimited learning, half price | 50% off

Last chance! 50% off unlimited learning

Sale ends in


rsyncrosim (version 1.2.9)

disableAddon: Disable addon or addons.

Description

Disable addon or addons of an SsimLibrary, or Project/Scenario with an associated SsimLibrary.

Usage

disableAddon(ssimLibrary, name)

# S4 method for character disableAddon(ssimLibrary, name)

# S4 method for SsimLibrary disableAddon(ssimLibrary, name)

Arguments

ssimLibrary

SsimLibrary.

name

Character string or vector of addon names.

Value

This function invisibly returns `TRUE` upon success (i.e.successful deactivation of the addon) and `FALSE` upon failure.

Examples

Run this code
# NOT RUN {
temp_dir <- tempdir()
myses <- session()
myLibrary <- ssimLibrary(name = file.path(temp_dir,"testlib"), session = myses)

enableAddon(myLibrary, c("stsimecodep"))
addon(myLibrary)
disableAddon(myLibrary, c("stsimecodep"))
addon(myLibrary)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab