Merge pull request #852 from SermetPekin/dev
A Fresh Approach to R Package Installation
pak installs R packages from CRAN, Bioconductor, GitHub, URLs, git repositories, local files and directories. It is an alternative to install.packages() and devtools::install_github(). pak is fast, safe and convenient.
install.packages()
devtools::install_github()
pak::pkg_install("tibble")
pak::pkg_install("tidyverse/tibble")
pak::pkg_deps_tree("tibble")
pak::pkg_deps_explain("tibble", "rlang")
pak::local_install("cli")
Start at Get Started with pak to solve specific issues.
Check out the list of frequently asked questions.
The complete reference of pak functions is the most complete source of information about pak.
Don’t hesitate to ask at the RStudio Community forum. Use the pak tag.
pak
Head to the pak issue tracker.
⚡️ Fast - parallel downloads and installation, caching, etc.
:safety_vest: Safe - dependency solver, system dependency solver, etc.
Convenient - packages from multiple sources, time travel, etc.
See the complete list of awesome features.
Install a binary build of pak from our repository on GitHub:
install.packages("pak", repos = sprintf("https://r-lib.github.io/p/pak/stable/%s/%s/%s", .Platform$pkgType, R.Version()$os, R.Version()$arch))
This is supported for the following systems:
For macOS we only support the official CRAN R build. Other builds, e.g. Homebrew R, are not supported.
Install the released version of the package from CRAN as usual:
install.packages("pak")
This potentially needs a C compiler on platforms CRAN does not have binaries packages for.
See the installation page!
GPL-3 © RStudio
版权所有:中国计算机学会技术支持:开源发展技术委员会 京ICP备13000930号-9 京公网安备 11010802032778号
pak
pak installs R packages from CRAN, Bioconductor, GitHub, URLs, git repositories, local files and directories. It is an alternative to
install.packages()anddevtools::install_github(). pak is fast, safe and convenient.🚀 Short tour
Install or update packages from CRAN or Bioconductor
Install packages from GitHub
Look up dependencies
Explain dependencies
Install a local package and its dependencies
How do I … ?
Start at Get Started with pak to solve specific issues.
FAQ
Check out the list of frequently asked questions.
Reference
The complete reference of pak functions is the most complete source of information about pak.
I have a(nother) question
Don’t hesitate to ask at the RStudio Community forum. Use the
paktag.I would like to report a bug
Head to the pak issue tracker.
✨ Features
⚡️ Fast - parallel downloads and installation, caching, etc.
:safety_vest: Safe - dependency solver, system dependency solver, etc.
See the complete list of awesome features.
⬇️ Installation
Pre-built binaries
Install a binary build of pak from our repository on GitHub:
This is supported for the following systems:
For macOS we only support the official CRAN R build. Other builds, e.g. Homebrew R, are not supported.
Install from CRAN
Install the released version of the package from CRAN as usual:
This potentially needs a C compiler on platforms CRAN does not have binaries packages for.
Other platforms and nightly builds
See the installation page!
GPL-3 © RStudio