checkInstalled: Check whether a command can be invoked via the command line

Description Usage Arguments Details Value Author(s)

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



Search within the JBTools package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.