Search for a package (or list of packages) across all available conda environments. By default, returns all packages from all conda environments.

find_packages(
  packages = NULL,
  conda_env = NULL,
  conda = "auto",
  filter_paths = FALSE,
  sort_names = FALSE,
  verbose = TRUE
)

Arguments

packages

A package (e.g. "pandas") or a list of packages (e.g. c("pandas","r-dplyr","bgzip")). Will recognize R packages with or without the prefixes "r-" and "bioconductor-" (i.e. "r-dplyr" is equivalent to "dplyr").

conda_env

Conda environments to search in. If NULL (default), will search all conda environments.

conda

The path to a conda executable. Use "auto" to allow reticulate to automatically find an appropriate conda binary. See Finding Conda and conda_binary() for more details.

filter_paths

Filter out packages without callable executable paths from the table.

sort_names

Sort packages alphanumerically by their name.

verbose

Print messages.

Value

Merged data.table with all packages installed in each conda environment.

Examples

pkgs <- echoconda::find_packages(conda_env="base")
#> Searching for all package(s) across 1 conda environment(s):
#>  -  base
#> 38 unique package(s) found across 1 conda environment(s).