tryKeepTraceback: tryKeepTraceback

Description Usage Arguments Value Examples

View source: R/error.R

Description

Wrapper around try-catch

Usage

1

Arguments

expr

Expression to evaluate

Value

Result of expression or error if thrown

Examples

1
2
x <- tryKeepTraceback(stop("no way"))
if(is(x, "try-error"))  cat(getTraceback(x))

AnalysisPageServer documentation built on April 28, 2020, 6:32 p.m.