Description Usage Arguments Details Value Examples
Made to make your life simpler with packages/libraries,
by installing and loading a list of packages, whether they are on CRAN,
Bioconductor or github. For github, if you do not have the full path, with
the maintainer name in it (e.g. "achateigner/topReviGO"), it will not be able
to install it. However, once installed you only need the name of the package.
For more details see the help vignette:
vignette("help", package = "anyLib")
1 2 |
pkg |
The package name or the list containing the packages names. |
force |
To force reinstallation of packages. |
autoUpdate |
To select whether Bioconductor packages auto update or not. |
lib |
Where to install the packages |
loadLib |
From where the packages are loaded |
source |
The package to install is a local source file, on the user disk. |
The source option can be a single TRUE or FALSE, or a vector of TRUE and FALSE corresponding to the vector/list of packages. E.g. if source == c(TRUE, FALSE), the first package will be considered as a source file. The file has to be a tar.gz source file, not a binary.
A named vector of booleans showing if the package is loaded properly
1 2 3 4 5 | # Install and load 1 package from a local source file, which name is in an object:
lib <- normalizePath(tempdir(), "/")
listOfPackages <- system.file("dummyPackage_0.1.0.tar.gz", package="anyLib")
anyLib(listOfPackages, force = TRUE, autoUpdate = FALSE, lib = lib,
loadLib = lib, source = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.