deleteLibrary | R Documentation |
Deletes a SyncroSim library. Note this is irreversable.
deleteLibrary(
ssimLibrary,
force = FALSE,
removeBackup = FALSE,
removePublish = FALSE,
removeCustom = FALSE,
session = NULL
)
## S4 method for signature 'SsimLibrary'
deleteLibrary(ssimLibrary, force, removeBackup, removePublish, removeCustom)
## S4 method for signature 'character'
deleteLibrary(
ssimLibrary,
force = FALSE,
removeBackup = FALSE,
removePublish = FALSE,
removeCustom = FALSE,
session = NULL
)
ssimLibrary |
SsimLibrary or path to a library |
force |
Logical. If FALSE (default) prompt to confirm that the library should be deleted. This is irreversable. |
removeBackup |
logical. If |
removePublish |
logical. If TRUE, will remove the publish folder when deleting a library. Default is FALSE. |
removeCustom |
logical. If TRUE and custom folders have been configured
for a library, then will remove the custom publish and/or backup folders when
deleting a library. Note that the |
session |
Session |
"saved" or failure message.
## Not run:
# Specify file path and name of new SsimLibrary
myLibraryName <- file.path(tempdir(), "testlib")
# Set up a SyncroSim Session and create SsimLibrary
mySession <- session()
myLibrary <- ssimLibrary(name = myLibraryName, session = mySession)
# Delete library from SsimObject
deleteLibrary(myLibrary, force = TRUE, removeBackup = TRUE)
# Create another library
myLibrary <- ssimLibrary(name = myLibraryName, session = mySession)
# Delete library from path
deleteLibrary(myLibraryName)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.