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


JBTools documentation built on May 2, 2019, 8:20 a.m.