try_capture_stack: Try, capturing stack on error

View source: R/traceback.R

try_capture_stackR Documentation

Try, capturing stack on error

Description

This is a variant of tryCatch() that also captures the call stack if an error occurs.

Usage

try_capture_stack(quoted_code, env)

Arguments

quoted_code

code to evaluate, in quoted form

env

environment in which to execute code


hadley/evaluate documentation built on June 13, 2025, 12:50 a.m.