Learn R Programming

arkhe (version 0.3.1)

conditions: Conditions

Description

  • throw_error() stops execution of the current expression and executes an error action.

  • catch_conditions() handles unusual conditions.

Usage

throw_error(.subclass, message, call = NULL, ...)

throw_warning(.subclass, message, call = NULL, ...)

catch_conditions(expr)

Arguments

.subclass

A character string specifying the class of the message to be returned.

message

A character string specifying the message to be returned.

call

The call.

...

Extra arguments.

expr

An expression to be evaluated.