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
)
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 environments to search in.
If NULL
(default), will search all conda environments.
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 out packages without callable executable paths from the table.
Sort packages alphanumerically by their name.
Print messages.
Merged data.table with all packages installed in each conda environment.
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).