R: Update the Component Packages of the Statnet Suite

update_statnet {statnet} | R Documentation

## 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`.

### 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

    ## 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)

[Package statnet version 2016.9 Index]