R/conda_path.R

# conda_path <- function(){
#   ## Use sys var
#   conda <- Sys.getenv("CONDA")
#   if(conda!=""){
#     options(reticulate.conda_binary = conda)
#     return(conda)
#   } 
#   ## Use reticulate
#   conda <- reticulate::conda_binary()  
#   if(file.exists(conda)){
#     return(conda)
#   } else {
#     stop("Unable to find conda binary. Please set reticulate.conda_binary")
#   }
# }

Try the rworkflows package in your browser

Any scripts or data that you put into this service are public.

rworkflows documentation built on May 29, 2024, 2:37 a.m.