try_browse: Browse on error

View source: R/error_handling.R

try_browseR Documentation

Browse on error

Description

Browse on error. Calls browse in the parent.frame so that one can see the context the for error.

Usage

try_browse(expr)

Arguments

expr

(expr) Any expression that might cause an error.

Value

Invisibly returns result of evaluating the expression.

Examples

try_browse({log("p")})

Deleetdk/kirkegaard documentation built on May 8, 2024, 12:27 a.m.