retry: A wrapper around try that retries on failure
Description
This is useful for functions that are "flaky", such as curl, which may fail for unknown
reasons that do not persist.
Usage
retry(expr, retries = 5, silent = FALSE)
Arguments
retries
Numeric. The maximum number of retries.
silent
Logical indicating whether to try silently.