create_and_activate_conda_env: Creates and activates the Conda environment

View source: R/create_and_activate_conda_env.R

create_and_activate_conda_envR Documentation

Creates and activates the Conda environment

Description

Creates and activates the Conda environment. If the Conda environment already exists, nothing new will happen

Usage

create_and_activate_conda_env(
  ormr_folder_name = get_default_ormr_folder_name(),
  python_version = get_default_python_version(),
  verbose = FALSE
)

Arguments

ormr_folder_name

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

python_version

the version of Python used. Use get_default_python_version to get the default Python version.

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() && is_conda_installed()) {
  create_and_activate_conda_env()
}

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