This function retrieves a list of Conda environments installed in the {condathis}
environment directory. The returned value excludes any environments unrelated
to {condathis}, such as the base Conda environment itself.
Arguments
- verbose
A character string indicating the verbosity level for the command. Defaults to
"silent". Seerun()for details.
Value
A character vector containing the names of installed Conda environments. If the command fails, the function returns the process exit status as a numeric value.
Examples
if (FALSE) { # \dontrun{
condathis::with_sandbox_dir({
# Create environments
condathis::create_env(
packages = "fastqc",
env_name = "fastqc-env"
)
condathis::create_env(
packages = "python",
env_name = "python-env"
)
# List environments
condathis::list_envs()
#> [1] "fastqc-env" "python-env"
})
} # }