This function checks whether the MOSAIC Python environment exists at ~/.virtualenvs/r-mosaic.
If it exists, it unlinks it from reticulate, removes the directory, and resets the RETICULATE_PYTHON global variable.
Usage
remove_python_env(force =FALSE)
Arguments
force
Logical. If TRUE, removes the environment without prompting for confirmation. Default is FALSE.