Learn R Programming

pkg (version 0.1.1.9000)

pkg_create_private_lib: Install pkg's dependencies into its private library

Description

To avoid interference between your regular R packages and pkg's dependencies, pkg works off a private library, which can be created by pkg_create_private_lib().

Usage

pkg_create_private_lib(mode = c("auto", "download", "copy"),
  quiet = FALSE)

Arguments

mode

Where to get the packages from. "download" will try to download them from CRAN. "copy" will try to copy them from your current "regular" package library. "auto" will try to copy first, and if that fails, then it tries to download.

quiet

Whether to omit messages.

Value

The path to the private library, invisibly.

See Also

pkg_sitrep().