Description Usage Arguments Value Author(s) Examples
Install Conda requirements
1 2 3 4 5 6 7 8 9 10 |
pkg |
Package to install Conda System Requirements from. |
channels |
Additional channels for miniconda (bioconda defaults and conda-forge are included automatically) |
env |
Name of Conda environment to install tools into. |
pathToMiniConda |
NULL Path to miniconda installation |
updateEnv |
Update existing package's conda environment if already installed. |
SysReqsAsJSON |
Parse the SystemRequirements in JSON format (see Details). Default is TRUE. |
SysReqsSep |
Separator used in SystemRequirement field. |
verbose |
Print messages on progress (Default is FALSE). |
Nothing returned. Output written to file.
Thomas Carroll
1 2 3 4 5 6 | testPkg <- system.file("extdata/HerperTestPkg", package = "Herper")
install.packages(testPkg, type = "source", repos = NULL)
condaDir <- file.path(tempdir(), "r-miniconda")
condaPaths <- install_CondaSysReqs("HerperTestPkg",
pathToMiniConda = condaDir, SysReqsAsJSON = FALSE)
system2(file.path(condaPaths$pathToEnvBin, "samtools"), args = "--help")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.