Learn R Programming

assertive.code (version 0.0-4)

is_error_free: Does the code run without throwing an error?

Description

Call the code inside a try block and report if an error was thrown.

Usage

is_error_free(x)

Value

TRUE if the code runs without throwing an error. The result of running the code is contained in an attribute named "result".

Arguments

x

Code to check.