check_doi.Rd
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)
doi | Digital Object Identifier (string) |
---|
Boolean
check_doi(doi = '10.1002/job.1787')#> [1] TRUEcheck_doi(doi = '10.1111/j.1365-2044.2012.07128.x')#> [1] TRUE