Learn R Programming

bio3d (version 2.4-4)

check.utility: Check on Missing Utility Programs

Description

Internally used in examples, tests, or vignettes.

Usage

check.utility(x = c("muscle", "clustalo", "dssp", "stride", 
                "mustang", "makeup"), quiet = TRUE)

Value

logical, TRUE if programs are available and FALSE if any one of them is missing.

Arguments

x

Names of one or more utility programs to check.

quiet

logical, if TRUE no warning or message printed.

Details

Check if requested utility programs are availabe or not.

Examples

Run this code
   check.utility(c("muscle", "dssp"), quiet=FALSE)
   if(!check.utility("mustang")) 
      cat(" The utility program, MUSTANG, is missing on your system\n")

Run the code above in your browser using DataLab