validMsg | R Documentation |
This function facilitates constructing messages during S4 class validation, and is meant for developer rather than end-user use.
validMsg(msg, result)
msg |
A character vector or NULL. |
result |
Any vector. |
This function appends result
to msg
, but only if
result
is a character vector.
Martin Morgan <mtmorgan@fhcrc.org>
msg <- NULL
validMsg(msg, FALSE) # still NULL
msg <- validMsg(msg, "one")
validMsg(msg, "two")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.