ListCondaEnvironments: List Conda environments.

Description Usage Arguments Value Author(s) Examples

Description

List Conda environments

Usage

1
list_CondaEnv(pathToMiniConda = NULL, allCondas = FALSE, env = NULL)

Arguments

pathToMiniConda

NULL Path to miniconda installation

allCondas

Logical. Whether to return conda environments, for all discoverable conda installs, or just the conda specified in pathToMiniConda.

env

Environment name. If this is supplied to list_CondaEnv, it will query whether that environment is present in the given conda.

Value

Conda environment names and the file paths to their conda installation are printed to the screen. If environment name is supplied a TRUE/FALSE will be returned depending on whether that environment is present or not.

Author(s)

Matt Paul

Examples

1
2
3
4
condaDir <- file.path(tempdir(), "r-miniconda")
condaPaths <- install_CondaTools("igv", "herper", pathToMiniConda = condaDir)
list_CondaEnv(pathToMiniConda = condaDir)
list_CondaEnv(pathToMiniConda = condaDir, env = "herper")

Herper documentation built on Feb. 28, 2021, 2:02 a.m.