update.Package {R.oo}R Documentation

Updates the package is a newer version is available

Description

Updates the package is a newer version is available. If the package is part of a bundle, the whole bundle will be updated. This method is a convientent alternative to update.packages(), especially for non-CRAN packages.

Usage

## S3 method for class 'Package':
update(object, contribUrl=c(getContribUrl(this), getDevelUrl(this)), force=FALSE, reload=TRUE, verbose=TRUE, ...)

Arguments

contribUrl The URL from where the package can be installed and updated. By default the URL according to the DESCRIPTION is assumed. If the URL is missing, CRAN is assumed.
force If TRUE, the package will reinstalled even if it is up to date according to the version number.
verbose If TRUE, more detailed information is returned.
... Not used.

Value

Returns (invisibly) TRUE if the package was updated, otherwise FALSE.

Author(s)

Henrik Bengtsson (http://www.braju.com/R/)

See Also

update.packages. For more information see Package.

Examples

## Not run: update(R.oo)

[Package R.oo version 1.6.5 Index]