Learn R Programming

wrapr (version 2.1.0)

returnCapture: Return an error to a file, environment (no names) or callback

Description

Return an error to a file, environment (no names) or callback

Usage

returnCapture(
  e,
  saveDest,
  cap,
  wrapperName,
  recallString = "do.call(p$fn, p$args)"
)

Arguments

e

caught exception

saveDest

where to save

cap

saved arguments

wrapperName

name of wrapper

recallString

how to call function again