Update R packages from CRAN, GitHub, or Bioconductor. Supports full updates, source-specific updates, or targeted package updates. Automatically handles version compatibility checks and respects mirror settings.
Arguments
- pkg
Character vector. Package name(s) to update. For GitHub, use
"user/repo"format. Only required whensourceis specified.- source
Character. Package source: "CRAN", "GitHub", or "Bioconductor". Optional if updating all installed CRAN and Bioconductor packages.
- ...
Additional arguments passed to
install.packages,install_github, orinstall.
