search_conda: Search package availabilty

Description Usage Arguments Value Author(s) Examples

Description

Search package availabilty

Usage

1
conda_search(package, channel = NULL, print_out = TRUE, pathToMiniConda = NULL)

Arguments

package

Package to search for. If an exact match is found, the funtion will return true (assuming 'package_version' is left NULL or is a valid entry). If there is not an exact match and other packages contain this text, the function will return FALSE but the alternative options will be printed if print_out = TRUE.

channel

A specific to search in addition to defaults (bioconda defaults and conda-forge are the default channels)

print_out

Either True or FALSE indicating whether to print out information about available builds and channels for the search entry.

pathToMiniConda

Path to miniconda installation. If this is set to NULL (default), then the output of 'reticulate::miniconda_path()' is used.

Value

TRUE/FALSE

Author(s)

Doug Barrows and Matt Paul

Examples

1
2
3
4
5
condaDir <- file.path(tempdir(), "r-miniconda")
if(!dir.exists(condaDir)){
 condaPaths <- install_CondaTools("salmon", "salmon", pathToMiniConda = condaDir)
}
conda_search("salmon",pathToMiniConda=condaDir)

Herper documentation built on Feb. 28, 2021, 2:02 a.m.