validMsg

Conditionally append result to validity message

This function facilitates constructing messages during S4 class validation, and is meant for developer rather than end-user use.

Keywords
utilities
Usage
validMsg(msg, result)
Arguments
msg
A character vector or NULL.
result
Any vector.
Details

This function appends result to msg, but only if result is a character vector.

Aliases
  • validMsg
Examples
msg <- NULL
validMsg(msg, FALSE) # still NULL
msg <- validMsg(msg, "one")
validMsg(msg, "two")
Documentation reproduced from package Biobase, version 2.26.0, License: Artistic-2.0

Community examples

Looks like there are no examples yet.