swh:1:snp:4727dd88296eeb5e206bc989261ce6807dec4b3f
Tip revision: 1cf9a422f054317f1c815535958c78af4312efba authored by Martina Morris on 10 November 2015, 19:04:33 UTC
version 2015.11.0
version 2015.11.0
Tip revision: 1cf9a42
update_statnet.Rd
\name{update_statnet}
\alias{update_statnet}
\title{Update the Component Packages of the Statnet Suite}
\description{A wrapper around \code{\link{update.packages}} to update
the component packages of Statnet Suite to their latest versions.
}
\usage{
update_statnet(\dots, ask = FALSE, checkBuilt = TRUE, addURLs = character())
}
\arguments{
\item{ask, checkBuilt}{Arguments to \code{\link{update.packages}}
documentation. The defaults are different from those of that
function.}
\item{addURLs}{Optional repository URLs in addition to CRAN, such as
\url{http://statnet.csde.washington.edu/preview}. Defaults to
none.}
\item{\dots}{
Additional arguments to be passed to \code{\link{update.packages}}.
}
}
\details{
Updates the list component packages of Statnet Suite, using \code{\link{setRepositories}} and \code{\link{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{
\code{update_statnet} returns NULL invisibly.
}
\seealso{
\code{\link{setRepositories}}, \code{\link{update.packages}}, \code{\link{install.packages}}
}
\examples{
\dontrun{
# 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")
}
}
\keyword{utilities}