have_python_deps: Check if 'Python' packages are installed in the environment.

View source: R/utils_environment.R

have_python_depsR Documentation

Check if Python packages are installed in the environment.

Description

Function to check if one or more Python packages are present in a conda environment.

Usage

have_python_deps(envname = "", py_pkgs = c("pybascule"))

Arguments

envname

the name of the environment to check. If empty, the function will check the currently loaded environment.

py_pkgs

a list or vector of Python packages.

Value

a list of Boolean. For each input package, TRUE if the package is installed, FALSE otherwise.


caravagnalab/basilica documentation built on June 11, 2025, 10:18 p.m.