checkInstalled checks whether an external command can be run on the command line.
character string: name of the program/command to check
The test is a simple wrapper around Sys.which which returns TRUE if which returns a character string and FALSE if not.
logical: whether the program is installed.
Jannis v. Buttlar