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

pak_setup(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.

See also

Other pak housekeeping: pak_cleanup, pak_private_library, pak_sitrep