check_conda_env_exists: Check if the Conda environment exists

View source: R/check_conda_env_exists.R

check_conda_env_existsR Documentation

Check if the Conda environment exists

Description

Check if the Conda environment exists Will stop if not

Usage

check_conda_env_exists(
  ormr_folder_name = get_default_ormr_folder_name(),
  verbose = FALSE
)

Arguments

ormr_folder_name

can be either python3 or the name of the folder where ormr installs all Python environments and packages.

verbose

the verbosity of a function. Set to TRUE for more output. Use check_verbose to detect if this argument is valid.

Value

Nothing

Author(s)

Richèl J.C. Bilderbeek

Examples

if (!plinkr::is_on_ci()) {
  if (does_conda_env_exists()) {
    check_conda_env_exists()
  }
}

richelbilderbeek/ormr documentation built on May 23, 2022, 1:15 p.m.