R/utils-error.R

Defines functions stopf_gh_rate_limit stopf

stopf <- function(msg, ...) {
  stop(sprintf(msg, ...), call. = FALSE)
}

stopf_gh_rate_limit <- function() {
  stopf(c(
    "Exceeded GitHub API limit of 60 queries per hour.\n",
    "(i) Authentication will increase your limit.\n",
    "(i) Start an issue to show us there's a demand for a higher limit."
  ))
}

Try the woodendesc package in your browser

Any scripts or data that you put into this service are public.

woodendesc documentation built on April 18, 2023, 5:09 p.m.