is_error_free

0th

Percentile

Does the code run without throwing an error?

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

Usage
is_error_free(x)
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.

Aliases
  • is_error_free
Documentation reproduced from package assertive.code, version 0.0-1, License: GPL (>= 3)

Community examples

Looks like there are no examples yet.