Tryer: Try a function call n times before failing

View source: R/Download_utilities.R

TryerR Documentation

Try a function call n times before failing

Description

This function will try n times to run a function call before failing. Mainly used for downloading files and accessing URLs

Usage

Tryer(n, fun, ...)

Arguments

n

Number of times to try function before erroring

fun

Function to try

...

parameters for function


InteragencyEcologicalProgram/zooper documentation built on Feb. 6, 2025, 9:01 a.m.