updatePackages: updatePackages

Description Usage Arguments Value See Also Examples

View source: R/updatePackages-functions.R

Description

Helper function to update only packages in directories where the current user has write access to.

Usage

1
2
3
4
  updatePackages(lib.loc = NULL,
    repos = getOption("repos"), type = .Platform$pkgType,
    contriburl = contrib.url(repos, type = type),
    ask = TRUE)

Arguments

lib.loc

a character vector describing the location of the R library

repos

character vector, the base URLs of the repositories to use

type

character string, the preferred setting (e.g. "source")

contriburl

URL(s) of the contrib sections of the repositories

ask

logical indicating whether to ask user before packages are actually downloaded and installed

Value

nothing

See Also

update.packages

Examples

1
## Not run: updatePackages()

sgibb/sgtools documentation built on May 26, 2017, 6:56 a.m.