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


r-lib/evaluate documentation built on June 10, 2025, 5:24 p.m.