vwc.n {AnalysisPageServer} | R Documentation |
Get number of conditions of a given type for an AnalysisPageValueWithConditions
vwc.n(vwc, type)
vwc |
AnalysisPageValueWithConditions |
type |
"messages", "warnings" or "error" |
Get number of conditions of a given type for an AnalysisPageValueWithConditions.
Number of conditions. (For "error" it can only be 0 or 1, and is equivalent
to calling as.integer(vwc.is.error())
).
Brad Friedman
vwc <- tryKeepConditions({stop("This isn't going to work")}) vwc.n(vwc, "error")