Learn R Programming

projmgr (version 0.1.2)

check_rate_limit: Find requests remaining and reset time

Description

Source: copied from httr vignette "Best practices for API packages" by Hadley Wickham

Usage

check_rate_limit(ref)

Value

Informative message on requests remaining and reset time

Arguments

ref

Any repository reference being used. Repository information is stripped out and only authentication credentials are used to determine the rate limit.

See Also

Other check: check_internet()

Examples

Run this code
if (FALSE) {
experigit <- create_repo_ref('emilyriederer', 'experigit')
check_rate_limit(experigit)
}

Run the code above in your browser using DataLab