Skip to content

About pak

tldr
Simplified manual. Start here!
faq
Frequently Asked Questions
install
All about installing pak.
features
Awesome pak features
config
pak configuration

Packages

pak()
Install the required packages
pak_package_sources
Package sources
pkg_deps()
Look up the dependencies of a package
pkg_deps_explain()
Explain how a package depends on other packages
pkg_deps_tree()
Draw the dependency tree of a package
pkg_download()
Download a package and potentially its dependencies as well
pkg_history()
Query the history of a package
pkg_install()
Install a package
pkg_name_check()
Check if an R package name is available
pkg_remove()
Remove installed packages
pkg_search()
Search CRAN packages
pkg_status()
Display installed locations of a package

Local Package Trees

local_deps() local_deps_tree() local_dev_deps() local_dev_deps_tree()
Dependencies of a package tree
local_deps_explain() local_dev_deps_explain()
Explain dependencies of a package tree
local_package_trees
Local package trees
local_install()
Install a package tree
local_install_deps()
Install the dependencies of a package tree
local_install_dev_deps()
Install all dependencies of a package tree

Libraries

lib_status() pkg_list()
Status of packages in a library

Repositories

repo_add() repo_resolve()
Add a new CRAN-like repository
repo_get()
Query the currently configured CRAN-like repositories
repo_status() repo_ping()
Show the status of CRAN-like repositories

Auto-install missing packages

handle_package_not_found()
Install missing packages on the fly

Lock files

lockfile_create()
Create a lock file
lockfile_install()
Install packages based on a lock file

pak housekeeping

cache_summary() cache_list() cache_delete() cache_clean()
Package cache utilities
local_system_requirements() pkg_system_requirements()
Query system requirements
meta_summary() meta_list() meta_update() meta_clean()
Metadata cache utilities
pak_install_extra()
Install all optional dependencies of pak
pak_setup()
Set up private pak library (deprecated)
pak_sitrep()
pak SITuation REPort
pak_cleanup()
Clean up pak caches
pak_update()
Update pak itself