do.retry: Simple do.call retry wrapper

Description Usage Arguments Value

View source: R/request.R

Description

Simple do.call retry wrapper

Usage

1
2
do.retry(what, args, quote = FALSE, envir = parent.frame(),
  attempt = 3, sleep = 0, warn = TRUE)

Arguments

what

passed to do.call

args

passed to do.call

quote

passed to do.call

envir

passed to do.call

attempt

max number of attempts

sleep

sleep time between attempts

warn

whether to throw warning when error captured, or an error handling function

Value

The returned value from function call


imlijunda/TushareR documentation built on Dec. 2, 2019, 3:25 a.m.