Skip to contents

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:

  1. (Optional) Configure mirrors: set_mirror()

  2. Install packages: inst_pkg()

  3. Check status: check_pkg()

  4. Update packages: update_pkg()

  5. Query information: pkg_version(), pkg_functions()

See also

install.packages for base installation, install_github for GitHub packages, install for Bioconductor packages.