internal_checkArguments: This function checks the supplied arguments if they abid to...

Description Usage Arguments Value Author(s)

View source: R/helperFunctions.R

Description

This function checks the supplied arguments if they abid to the given restrictions

Usage

1
2
3
internal_checkArguments(args = c(), allowedValues = list(),
  allowNULL = FALSE, allowNA = FALSE, allowEmptyString = TRUE,
  allowInf = TRUE)

Arguments

args

The vector of arguments to check

allowedValues

A named list of values the argument of a this name is allowed to have

allowNULL

Logical, allow NULL or not

allowNA

Logical, allow NA or not

allowEmptyString

Logical, allow empty strings or not

allowInf

Logical, allow values of +/- infinity or not

Value

Returns 1 if all checks completed successfully, returns error message otherwise.

Author(s)

Frank Kramer



rBiopaxParser documentation built on May 20, 2017, 10:14 p.m.
Search within the rBiopaxParser package
Search all R packages, documentation and source code

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

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

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