View source: R/pubmed_search.R
retry_api_call | R Documentation |
This function retries a failed API call with exponential backoff.
retry_api_call(fun, ..., verbose = FALSE, retry_count = 3, retry_delay = 1)
fun |
Function to call |
... |
Arguments to pass to the function |
verbose |
Logical. If TRUE, prints progress information |
retry_count |
Integer. Number of times to retry |
retry_delay |
Integer. Initial delay between retries in seconds |
Result of the function call or NULL if all retries fail
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.