is_error_free: Does the code run without throwing an error?

Description Usage Arguments Value Note

View source: R/is-code.R

Description

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

Usage

1

Arguments

x

Code to check.

Value

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

Note

Note that this has the side effect of running the code contained in x.


assertive.code documentation built on May 30, 2017, 1:32 a.m.

Search within the assertive.code package
Search all R packages, documentation and source code