Learn R Programming

statnet (version 2019.6)

update_statnet: Update the Component Packages of the Statnet Suite

Description

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

Usage

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.

Value

update_statnet returns NULL invisibly.

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.

See Also

setRepositories, update.packages, install.packages

Examples

Run this code
# 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")
# }

Run the code above in your browser using DataLab