update_statnet function

Update the Component Packages of the Statnet Suite

Update the Component Packages of the Statnet Suite

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

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.

Returns

update_statnet returns NULL invisibly.

See Also

setRepositories, update.packages, install.packages

Examples

## 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)
  • Maintainer: Martina Morris
  • License: GPL-3 + file LICENSE
  • Last published: 2019-06-14