This page isn't quite ready, but it will describe what a package is, what happens during installation, and the tools you can use to install packages.
The best resource for understanding package installation is Wickham's "What is a package?".
Most R users are familiar with the R function
install.packages. Here, we recommend two alternatives:
pak package is used to install packages interactively.
pak is designed to help humans install packages quickly and safely.
remotespackage is used to install packages programmatically.
remotesis designed with to help machines install package. The
remotespackage is intentionally lightweight and does not, itself, have any dependencies.^[
devtools::install_and is a suitable, lightweight alternative.]