NCEAS/metadig-checks

entity.attributeEnumeratedDomains.present giving false positive

gothub opened this issue · 2 comments

The check entity.attributeEnumeratedDomains.present gives a "SUCCESS" status for the DataCite 4.x 'full' document, when instead it should fail.

It looks like in the check code that the case of what to do when which(!is.na(enumerated_domains)) returns an empty vector, so that might be where this is coming from

Fixed in commit 43c1e5f