R/remove.R

Defines functions remove_conda remove_conda.default remove_conda.Windowsx86 remove_conda.Windowsx64

remove_conda <- function(os, ...){
  UseMethod("remove_conda")
}

remove_conda.default <- function(os, ...){
  stop("no method for ", class(os)[1L])
}

remove_conda.Windowsx86 <- function(os, dest = conda_uninstall_binary()) {
  pid <- sys::exec_wait(dest)
}

remove_conda.Windowsx64 <- function(os, dest = conda_uninstall_binary()) {
  pid <- sys::exec_wait(dest)
}
mrchypark/conda4r documentation built on Dec. 8, 2019, 1:52 p.m.