powered by
This helper function checks whether a DOI is valid. The regular expression is based on the one provided by CrossRef as providing the highest coverage (https://bit.ly/doi-regex).
check_doi(doi)
Digital Object Identifier (string)
Boolean
# NOT RUN { check_doi(doi = '10.1002/job.1787') check_doi(doi = '10.1111/j.1365-2044.2012.07128.x') # }
Run the code above in your browser using DataLab