pretests: Pretest acceptable DOIs

Description Usage Arguments Details Value Related Functions and Methods See Also Examples

View source: R/pretest.R

Description

DOIs have to meet some pretests to have a meaningful metadata compliance.

Usage

1
2
3
4
5
6
7
8
9

Arguments

...

Additional arguments passed to the predicate functions.

x

A vector created by, or convertable to doi().

lang

Character scalar giving the anguage of the report. Not reactive as in mcControlsServer().

Details

These criteria are tested, and assumed to be transitive but asymmetric in the order given. For example, if a DOI is not found on DOI.org, it is assumed that it also cannot be known to Crossref.

This must necessarily be the case for, say, syntactically invalid DOIs (which cannot have metadata), but is more of an assumption when it comes to the consistency between different data sources. For example, it is conceivable, though implausible, that a DOI might not resolve on DOI.org, but is still listed on Crossref.

For details about DOI predicates (is.na() etc.), see biblids::doi(). For details about custom metacheck predicates, see mc_predicates().

Value

TRUE indicates that the test passes the criterion, FALSE otherwise. NA can indicates that the test was not applicable, because a previous predicate was FALSE.

Related Functions and Methods

Functions

See Also

Other import: cr_works2(), get_cr_md()

Examples

1

subugoe/hybridmdpackage documentation built on Jan. 25, 2022, 9:51 p.m.