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()
.
pkg_create_private_lib(mode = c("auto", "download", "copy"),
quiet = FALSE)
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.
Whether to omit messages.
The path to the private library, invisibly.