env_exists: Check whether a conda env exists

View source: R/env_exists.R

env_existsR Documentation

Check whether a conda env exists

Description

An extension of the internal function reticulate:::condaenv_exists().

Usage

env_exists(
  conda_env = NULL,
  conda = "auto",
  method = c("basilisk", "reticulate")
)

Arguments

conda_env

Name of the conda environment.

conda

Path to conda executable.

method

Method to use:

  • "basilisk"

  • "reticulate"

Source

https://github.com/rstudio/reticulate/blob/577acd2dfd43b48720037eb0851f20e377dbb802/R/conda.R#L494

Examples

does_exist <- env_exists(conda_env = "echoR")

RajLabMSSM/echoconda documentation built on May 21, 2023, 10:19 a.m.