R/install-bioc.R
install_bioc.RdThis function requires git to be installed on your system in order to
be used.
install_bioc( repo, mirror = getOption("BioC_git", download_url("git.bioconductor.org/packages")), git = c("auto", "git2r", "external"), dependencies = NA, upgrade = c("default", "ask", "always", "never"), force = FALSE, quiet = FALSE, build = TRUE, build_opts = c("--no-resave-data", "--no-manual", "--no-build-vignettes"), build_manual = FALSE, build_vignettes = FALSE, repos = getOption("repos"), type = getOption("pkgType"), ... )
| repo | Repository address in the format
|
|---|---|
| mirror | The Bioconductor git mirror to use |
| git | Whether to use the |
| dependencies | Which dependencies do you want to check? Can be a character vector (selecting from "Depends", "Imports", "LinkingTo", "Suggests", or "Enhances"), or a logical vector.
The value "soft" means the same as You can also specify dependencies from one or more additional fields, common ones include:
|
| upgrade | Should package dependencies be upgraded? One of "default", "ask", "always", or "never". "default"
respects the value of the |
| force | Force installation, even if the remote state has not changed since the previous install. |
| quiet | If |
| build | If |
| build_opts | Options to pass to |
| build_manual | If |
| build_vignettes | If |
| repos | A character vector giving repositories to use. |
| type | Type of package to |
| ... | Other arguments passed on to |
It is vectorised so you can install multiple packages with a single command.
This is intended as an aid for Bioconductor developers. If you want to
install the release version of a Bioconductor package one can use the
BiocManager package.
Other package installation:
install_bitbucket(),
install_cran(),
install_dev(),
install_github(),
install_gitlab(),
install_git(),
install_local(),
install_svn(),
install_url(),
install_version()
if (FALSE) { install_bioc("SummarizedExperiment") install_bioc("devel/SummarizedExperiment") install_bioc("3.3/SummarizedExperiment") install_bioc("SummarizedExperiment#abc123") install_bioc("user:password@release/SummarizedExperiment") install_bioc("user:password@devel/SummarizedExperiment") install_bioc("user:password@SummarizedExperiment#abc123") }