do.retry: Simple do.call retry wrapper

Description Usage Arguments Value

View source: R/tushare_api.R

Description

Simple do.call retry wrapper

Usage

1
2
3
4
5
6
7
8
9
do.retry(
  what,
  args,
  quote = FALSE,
  envir = parent.frame(),
  attempt = 3,
  sleep = 0,
  handler = warning_handler
)

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

handler

error handling function

Value

The returned value from function call


imlijunda/tswbench documentation built on June 12, 2021, 12:45 p.m.