R/pmid2doi.R

Defines functions `doi2pmid` `pmid2doi`

#' Get a PMID from a DOI, and vice versa.
#'
#' @export
#' @rdname pmid2doi-defunct
#' @keywords internal
`pmid2doi` <- function(...){ # nocov start
  .Defunct(msg = "The web API behind this function is down indefinitely, 
           see id_converter()")
} # nocov end

#' @export
#' @rdname pmid2doi-defunct
`doi2pmid` <- function(...){ # nocov start
  .Defunct(msg = "The web API behind this function is down indefinitely, see id_converter()")
} # nocov end
ropensci/rcrossref documentation built on March 25, 2023, 6:42 p.m.