Awesome pak featuresSource:
Features that make pak special.
pak performs HTTP queries concurrently. This is true when
it downloads package metadata from package repositories,
it resolves packages from CRAN, GitHub, URLs, etc,
it downloads the actual package files,
pak installs packages concurrently, as much as their dependency graph allows this.
pak creates an installation plan before downloading any packages. If the plan is unsuccessful, then it fails without downloading any packages.
When requesting the installation of a package, pak makes sure that all of its dependencies are also installed.
pak automatically discads binary packages from the cache, if a new build of the same version is available on CRAN.
pak can correct some of CRAN's metadata issues, e.g.:
New version of the package was released since we obtained the metadata.
macOS binary package is only available at https://mac.r-project.org/ because of a synchronization issue.
pak handles the situation of locked package DLLs, as well as possible. It detects which process locked them, and offers the choice of terminating these processes. It also unloads packages from the current R session as needed.
On the most common platforms. No dependencies, no system dependencies, no compiler needed. (See also the installation manual.)
pak knows the sizes of CRAN package files, so it can estimate how much data you need to download, before the installation.
pak automatically selects the Bioconductor version that is appropriate for your R version. No need to set any repositories.
pak can use MRAN (Microsoft R Application Network, https://mran.microsoft.com/) or RSPM (RStudio Public Package Manager, https://packagemanager.rstudio.com/client/#/) to install from snapshots or CRAN.