catch_conditions: Evaluate an expression, collecting its warnings and error

View source: R/app_check.R

catch_conditionsR Documentation

Evaluate an expression, collecting its warnings and error

Description

Records every warning expr gives, in order, and lets it carry on, so app_check() can report each one. An error ends the evaluation; the warnings given before it are kept.

Usage

catch_conditions(expr)

Arguments

expr

An expression, evaluated in the calling function's environment.

Value

A list with value, the value of expr or NULL after an error, error, the error condition or NULL, and warnings, the messages of the warnings given.


shinyelectron documentation built on Dec. 3, 2026, 9:07 a.m.