Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

validMsg

Conditionally append result to validity message


Description

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

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.

Author(s)

Martin Morgan <mtmorgan@fhcrc.org>

Examples

msg <- NULL
validMsg(msg, FALSE) # still NULL
msg <- validMsg(msg, "one")
validMsg(msg, "two")

Biobase

Biobase: Base functions for Bioconductor

v2.50.0
Artistic-2.0
Authors
R. Gentleman, V. Carey, M. Morgan, S. Falcon
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.