Skip to contents

Remove a conda environment

Usage

RemoveEnv(envname = NULL, conda = "auto", force = FALSE)

Arguments

envname

The name of the conda environment to remove. If NULL, uses the default scop environment name.

conda

The path to a conda executable. Use "auto" to allow reticulate to automatically find an appropriate conda binary.

force

Whether to force removal without confirmation. Default is FALSE.

Value

Invisibly returns TRUE if successful, FALSE otherwise.

Examples

if (FALSE) { # \dontrun{
# Remove the default scop environment
RemoveEnv()

# Remove a specific environment
RemoveEnv("my_old_env")

# Force removal without confirmation
RemoveEnv("my_old_env", force = TRUE)
} # }