tryCMD: Collect information about the third-party software

Description Usage Arguments Value Note Author(s) Examples

Description

Function to check if third-party software or utility is installed and set in the PATH.

Usage

1
tryCMD(command, silent = FALSE)

Arguments

command

a character vector containing the command line name to be tested.

silent

If set to TRUE, all messages returned by the function will be suppressed.

Value

It will return a positive message if the software is set on the PATH or an error message if the software is not set it.

Note

Please note that not necessary the software is not installed if the message indicates an error, but it has not been exported on the current PATH.

Author(s)

Danela Cassol

Examples

1
2
3
4
5
6
## Not run: 
tryCMD(command="R") 
tryCMD(command="blastp") 
tryCMD(command="hisat2") 
  
## End(Not run)

tgirke/systemPipeR documentation built on Sept. 18, 2021, 12:03 p.m.