This function checks that a specified binary exists within a Conda
environment and then sets an R option pointing to it. By default,
the option name is constructed as "phgv2_<bin>_path"
.
Arguments
- condaPath
A character string for the Conda installation path.
- envName
A character string for the environment name. Defaults to
"phgv2-conda"
.- bin
A character string for the binary to link. Defaults to
"agc"
.- verbose
A logical indicating whether to print a message after setting the option. Defaults to
TRUE
.
Value
The function returns nothing. It is called for its side effects, namely setting an R option and optionally printing a message.