updatePackage | R Documentation |
Updates a SyncroSim package.
updatePackage(name = NULL, session = NULL, listonly = FALSE)
## S4 method for signature 'ANY,character'
updatePackage(name = NULL, session = NULL, listonly = FALSE)
## S4 method for signature 'ANY,missingOrNULL'
updatePackage(name = NULL, session = NULL, listonly = FALSE)
## S4 method for signature 'ANY,Session'
updatePackage(name = NULL, session = NULL, listonly = FALSE)
name |
character string. The name of the package to update.
If |
session |
|
listonly |
logical. If |
Invisibly returns TRUE
upon success (i.e.successful update)
and FALSE
upon failure.
## Not run:
# Set SyncroSim Session
mySession <- session()
# List all available updates for a package
updatePackage(name = "stsim", session = mySession, listonly = TRUE)
# Update ST-Sim package
updatePackage(name = "stsim", session = mySession, listonly = FALSE)
# Update all packages
updatePackage(session = mySession)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.