Learn R Programming

future (version 1.10.0)

backtrace: Back trace the expression evaluated when a condition was caught

Description

Back trace the expression evaluated when a condition was caught

Usage

backtrace(future, envir = parent.frame(), ...)

Arguments

future

A future with a caught condition.

envir

the environment where to locate the future.

Not used.

Value

A list with one call.

Known limitations

It is currently not possible to infer the full call stack prior to when an error occurred. It is only possible to get the call that produced the call. This is a limitation of tryCatch() used internally for evaluating the future expression.