bioc: Install or update Bioconductor, CRAN, and GitHub packages

bioc_installR Documentation

Install or update Bioconductor, CRAN, and GitHub packages

Description

bioc_install() is a thin wrapper of BiocManager::install().

Usage

bioc_install(pkgs, ..., update = FALSE, ask = interactive())

Arguments

pkgs

character() vector of package names to install or update. A missing value updates installed packages according to ⁠update =⁠ and ⁠ask =⁠. Package names containing a '/' are treated as GitHub repositories and installed using remotes::install_github().

...

Additional arguments used by install.packages().

update

logical(1). When FALSE, BiocManager::install() does not attempt to update old packages. When TRUE, update old packages according to ask.

ask

logical(1) indicating whether to prompt user before installed packages are updated. If TRUE, user can choose whether to update all outdated packages without further prompting, to pick packages to update, or to cancel updating (in a non-interactive session, no packages will be updated unless ask = FALSE).

Value

BiocManager::install() returns the pkgs argument, invisibly.


heavywatal/rwtl documentation built on April 29, 2024, 2:02 a.m.