export_CondaEnv {Herper} | R Documentation |
Export Conda environment
Import Conda environment
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
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)