A unified interface for R package management across CRAN, GitHub, Bioconductor, and local sources. Provides consistent installation, checking, updating, and querying capabilities.
Details
The package management functions automatically:
Respect mirror settings configured via
set_mirror()Handle dependencies for BiocManager and devtools
Validate package names and sources
Provide informative error messages and progress updates
Recommended workflow:
(Optional) Configure mirrors:
set_mirror()Install packages:
inst_pkg()Check status:
check_pkg()Update packages:
update_pkg()Query information:
pkg_version(),pkg_functions()
See also
install.packages for base installation,
install_github for GitHub packages,
install for Bioconductor packages.
