Check whether a command can be invoked via the command line

Description

checkInstalled checks whether an external command can be run on the command line.

Usage

1
checkInstalled(commandName)

Arguments

commandName

character string: name of the program/command to check

Details

The test is a simple wrapper around Sys.which which returns TRUE if which returns a character string and FALSE if not.

Value

logical: whether the program is installed.

Author(s)

Jannis v. Buttlar