check_doi: Check for valid DOI

Description Usage Arguments Value Examples

Description

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).

Usage

1
check_doi(doi)

Arguments

doi

Digital Object Identifier (string)

Value

Boolean

Examples

1
2
  check_doi(doi = '10.1002/job.1787')
  check_doi(doi = '10.1111/j.1365-2044.2012.07128.x')

libscie/retractcheck documentation built on May 3, 2019, 3:40 p.m.