find_doi: Find DOIs in strings

Description Usage Arguments Value Examples

Description

Helper function to find DOIs in strings. Can occasionally erroneously extract DOIs (subset of another DOI for example). Regular expression based on CrossRef (http://bit.ly/doi-regex; see also check_doi).

Usage

1
find_doi(strings)

Arguments

strings

Vector of strings to check for DOIs

Value

Vector of DOIs

Examples

1
  find_doi('This contains 10.1111/j.1365-2044.2012.07128.x')

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