Removes package from SyncroSim installation
removePackage(name, session = NULL, force = FALSE)
# S4 method for ANY,character
removePackage(name, session = NULL, force = FALSE)
# S4 method for ANY,missingOrNULL
removePackage(name, session = NULL, force = FALSE)
# S4 method for ANY,Session
removePackage(name, session = NULL, force = FALSE)
Invisibly returns TRUE
upon success (i.e.successful
removal) and FALSE
upon failure.
# \donttest{
# Set SyncroSim Session
mySession <- session()
# Remove package from SyncroSim Session
removePackage("stsim", mySession, force = FALSE)
#> Do you really want to remove package 'stsim'? (y/n)
#> Removal of package <stsim> skipped
# }