try_GET: Get a uri with option to retry up to 'tries' times. Useful...

View source: R/Lims.R

try_GETR Documentation

Get a uri with option to retry up to tries times. Useful when doing vulnerable batch operations but could be used anytime.

Description

Get a uri with option to retry up to tries times. Useful when doing vulnerable batch operations but could be used anytime.

Usage

try_GET(uri, lims, ..., tries = 3)

Arguments

uri

character, the uri to retrieve

lims

a LimsRefClass node

...

further arguments for httr::GET()

tries

numeric, allow up to this number of tries before failing

Value

result of httr::GET


BigelowLab/genologicsr documentation built on June 7, 2024, 3:15 a.m.