
Last chance! 50% off unlimited learning
Sale ends in
Disable addon or addons of an SsimLibrary, or Project/Scenario with an associated SsimLibrary.
disableAddon(ssimLibrary, name)# S4 method for character
disableAddon(ssimLibrary, name)
# S4 method for SsimLibrary
disableAddon(ssimLibrary, name)
SsimLibrary.
Character string or vector of addon names.
This function invisibly returns `TRUE` upon success (i.e.successful deactivation of the addon) and `FALSE` upon failure.
# 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