R/orcid_ping.R

Defines functions orcid_ping

Documented in orcid_ping

#' Check if ORCID API is up and running
#'
#' @export
#' @param ... Curl options passed on to [crul::HttpClient()]
#' @return a text string
#' @examples \dontrun{
#' orcid_ping()
#' }
orcid_ping <- function(...) {
  orc_GET(file.path(orcid_base(), "status"), ctype = "text/plain", ...)
}

Try the rorcid package in your browser

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

rorcid documentation built on Jan. 21, 2021, 1:06 a.m.