Skip to content

pak can install packages from local package trees. This is convenient for package development. See the following functions:

  • local_install() installs a package from a package tree and all of its (hard) dependencies (i.e. Includes, Depends, LinkingTo.

  • local_install_deps() installs all hard dependencies of a package.

  • local_install_dev_deps() installs all hard and soft dependencies of a package. This function is intended for active package development.


Note that the last two functions do not install the package in the specified package tree itself, only its dependencies. This is convenient if the package itself is loaded via some other means, e.g. devtools::load_all(), for development.

See also