Skip to contents

lifecycle-maturing

Locates the vsearch executable on the system PATH, or verifies a user-supplied path. This is a lightweight standalone version of the helper found in MiscMetabar, so that dbpq does not need to depend on MiscMetabar for vsearch operations.

Usage

find_vsearch(path = NULL)

Arguments

path

(Character, default NULL) Explicit path to the vsearch executable. If NULL, the function searches the system PATH via Sys.which().

Value

A character string with the path to vsearch, or NA if not found.

Examples

find_vsearch()
#> [1] "/usr/local/bin/vsearch"