R/paper_exists.R

Defines functions paper_exists

Documented in paper_exists

#' Check whether paper exists
#'
#' Check whether paper is in the data registry
#' 
#' @keywords internal
#'
#' @param doi doi
#'
paper_exists <- function(doi) {
check_exists("external_object",
             list(doi_or_unique_name = paste0("doi://", doi)))
}
FAIRDataPipeline/rFDP documentation built on July 20, 2023, 8:12 a.m.