vwc.n: vwc.n

Description Usage Arguments Details Value Author(s) Examples

View source: R/error.R

Description

Get number of conditions of a given type for an AnalysisPageValueWithConditions

Usage

1
vwc.n(vwc, type)

Arguments

vwc

AnalysisPageValueWithConditions

type

"messages", "warnings" or "error"

Details

Get number of conditions of a given type for an AnalysisPageValueWithConditions.

Value

Number of conditions. (For "error" it can only be 0 or 1, and is equivalent to calling as.integer(vwc.is.error())).

Author(s)

Brad Friedman

Examples

1
2
vwc <- tryKeepConditions({stop("This isn't going to work")})
vwc.n(vwc, "error")

AnalysisPageServer documentation built on April 28, 2020, 6:32 p.m.