Skip to contents

This function removes the SCP Python environment from your system. It will prompt for confirmation before deletion unless `prompt = FALSE`.

Usage

RemoveEnv(envname = "SCP_env", prompt = TRUE, conda = "auto")

Arguments

envname

The name of the conda environment to remove. Default is "SCP_env".

prompt

Whether to prompt for confirmation before removing. Default is TRUE.

conda

The path to conda executable. Default is "auto" which automatically finds conda.

Value

NULL (invisibly). Messages will indicate success or failure.

Examples

if (FALSE) { # \dontrun{
# Remove with confirmation prompt
RemoveEnv()

# Remove without prompt
RemoveEnv(prompt = FALSE)
} # }