vwc.conditions: vwc.conditions

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/error.R

Description

Return condition object(s) for an AnalysisPageValueWithConditions

Usage

1
vwc.conditions(vwc, type = "messages")

Arguments

vwc

AnalysisPageValueWithConditions

type

"messages" "warnings" or "error"

Details

Return condition object(s) for an AnalysisPageValueWithConditions

Value

List of condition objects for "messages" or "warnings" or a single condition object or NULL for "error".

Author(s)

Brad Friedman

See Also

vwc.error.condition, vwc.messages.conditions, vwc.warnings.conditions

Examples

1
2
3
4
vwc <- tryKeepConditions({message("whatever"); warning("warning message"); 3})
vwc.conditions(vwc, "messages")
vwc.conditions(vwc, "warnings")
vwc.conditions(vwc, "error")

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