swh:1:snp:4727dd88296eeb5e206bc989261ce6807dec4b3f
Raw File
Tip revision: 0921ba89b1f521aa82958f774c1986b4c365b169 authored by Martina Morris on 04 April 2016, 08:37:23 UTC
version 2016.4
Tip revision: 0921ba8
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}
back to top