| install | R Documentation | 
Install packages from Bioconductor, CRAN, or a Git remote
install(
  pkgs,
  lib = .libPaths()[[1L]],
  dependencies = NA,
  type = getOption("pkgType", default = "source"),
  reinstall = TRUE
)
| pkgs | 
 Special cases: 
 | 
| lib | 
 | 
| dependencies | 
 
 | 
| type | 
 | 
| reinstall | 
 | 
Invisible list.
Contains information on pkgs and lib defined.
Updated 2023-05-17.
## > testlib <- file.path(tempdir(), "testlib")
## > unlink(testlib, recursive = TRUE)
## > out <- install(
## >     pkgs = "BiocGenerics",
## >     dependencies = FALSE,
## >     lib = file.path(tempdir(), "testlib")
## > )
## > print(out)
## > list.dirs(path = testlib, full.names = FALSE, recursive = FALSE)
## > unlink(testlib, recursive = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.