tryCatch.W.E: Catch and Save Both Errors and Warnings

View source: R/itemanalysis.R

tryCatch.W.ER Documentation

Catch and Save Both Errors and Warnings

Description

Catch and save both errors and warnings, and in the case of a warning, also keep the computed result.

Usage

tryCatch.W.E(expr)

Arguments

expr

an R expression to evaluate

Value

a list with 'value' and 'warning', where 'value' may be an error caught.

Author(s)

Martin Maechler; Copyright (C) 2010-2012 The R Core Team


mihock/iana documentation built on Jan. 14, 2024, 8:58 p.m.