uninstallPackage | R Documentation |
Removes a package from SyncroSim installation
uninstallPackage(packages, versions = NULL, session = NULL)
## S4 method for signature 'ANY,ANY,character'
uninstallPackage(packages, versions = NULL, session = NULL)
## S4 method for signature 'ANY,ANY,missingOrNULL'
uninstallPackage(packages, versions = NULL, session = NULL)
## S4 method for signature 'ANY,ANY,Session'
uninstallPackage(packages, versions = NULL, session = NULL)
packages |
character or character vector. The name(s) of the package(s) to uninstall |
versions |
character or character vector. The version(s) of the
package(s) to uninstall. If |
session |
|
Invisibly returns TRUE
upon success (i.e.successful
removal) and FALSE
upon failure.
## Not run:
# Set SyncroSim session
mySession <- session()
# Install packages to SyncroSim session
installPackages(packages = c("stsim", "stsim"),
versions = c("4.0.0", "4.0.1"))
# Uninstalls specific version of package from SyncroSim session
uninstallPackage(packages = "stsim", versions = "4.0.0", session = mySession)
# Uninstalls all instances ofa package from SyncroSim session
uninstallPackage(packages = "stsim", session = mySession)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.