Description Usage Arguments Value Author(s) Examples
Export Conda environment
Import Conda environment
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | export_CondaEnv(
env_name,
yml_export = NULL,
pathToMiniConda = NULL,
depends = TRUE
)
import_CondaEnv(
yml_import,
name = NULL,
pathToMiniConda = NULL,
install = TRUE,
channels = NULL
)
|
env_name |
Name of environment you want to save |
yml_export |
Destination for exported environment yml file |
pathToMiniConda |
NULL Path to miniconda installation |
depends |
if FALSE will only include packages explicitly installed and not dependencies |
yml_import |
conda environment yml file |
name |
Name of the environment to create. |
install |
TRUE/FALSE whether to install miniconda at path if it doesn't exist. |
channels |
Additional channels for miniconda (bioconda defaults and conda-forge are included automatically) |
Nothing returned. Output written to file.
Nothing returned. Output written to file.
Matt Paul
Matt Paul
1 2 3 4 | testYML <- system.file("extdata/HerperTestPkg_0.1.0.yml", package = "Herper")
condaDir <- file.path(tempdir(), "r-miniconda")
import_CondaEnv(testYML, "herper_test", pathToMiniConda = condaDir)
export_CondaEnv("herper_test", yml_export = tempfile(), pathToMiniConda = condaDir)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.