update_statnet: Update the Core Component Packages of the 'statnet' Suite

Description Usage Arguments Details Value See Also Examples

View source: R/update_statnet.R

Description

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

Usage

1
update_statnet(..., ask = FALSE, checkBuilt = TRUE, betas = FALSE)

Arguments

...

Additional arguments to be passed to update.packages.

ask, checkBuilt

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

betas

Optional repository specification https://statnet.r-universe.dev to install the latest public development versions of the packages. Defaults to FALSE.

Details

Updates the core component packages of Statnet Suite, using setRepositories and update.packages. For the list of packages automatically updated, see statnet.

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

With no additional arguments specified, the function will update the packages from CRAN.

You can also obtain the latest build for the suite of packages from the master branches of the statnet public GitHub repositories with the betas argument. This will install from the binaries hosted at https://statnet.r-universe.dev. Note that while these nightly builds have passed continuous integration tests, they may have other bugs and incompatibilities. Please report any bugs on the GitHub package repository.

Value

update_statnet returns NULL invisibly.

See Also

setRepositories, update.packages, install.packages

Examples

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

# Update using latest build of GitHub public master branch on r-universe
statnet::update_statnet(betas = TRUE)

## End(Not run)

statnet/statnet documentation built on June 30, 2021, 10:05 p.m.