Skip to contents

Validates that a tool is properly configured and installed. This function automatically manages the toolbox.

Usage

sn_validate_tool(tool_name, version = NULL)

Arguments

tool_name

Character. Name of the tool to validate.

version

Character. Tool version (optional).

Value

Logical. TRUE if valid, FALSE otherwise.

Examples

if (FALSE) { # \dontrun{
# Validate tool
is_valid <- sn_validate_tool("samtools")
} # }