Update the Component Packages of the Statnet Suite

Share:

Description

A wrapper around update.packages to update the component packages of Statnet Suite to their latest versions.

Usage

1
update_statnet(..., ask = FALSE, checkBuilt = TRUE, addURLs = character())

Arguments

ask, checkBuilt

Arguments to update.packages documentation. The defaults are different from those of that function.

addURLs

Optional repository URLs in addition to CRAN, such as http://statnet.csde.washington.edu/preview. Defaults to none.

...

Additional arguments to be passed to update.packages.

Details

Updates the list component packages of Statnet Suite, using setRepositories and update.packages.

Since there are no good ways to update packages once they are loaded, this function should be called immediately after restarting R.

Value

update_statnet returns NULL invisibly.

See Also

setRepositories, update.packages, install.packages

Examples

1
2
3
4
5
6
7
8
9
## Not run: 
# Update from CRAN
statnet::update_statnet()

# Update from statnet.org's preview release, taking packages from CRAN
# as needed
statnet::update_statnet(addURLs="http://statnet.csde.washington.edu/preview")

## End(Not run)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.