This function tries to execute expr
and returns a string with the
error message if the execution failed.
Value
Either the value of expr
or in case of a failure an object of class
fail
, which contains the error message.
Details
This function is a wrapper for try
.
See also
Other function helpers:
do.call_timed()
,
function_arguments()
,
function_body()
,
function_defaults()
,
quiet()
,
timed()
,
variable_name()