Check a register's Zenodo records against the CODECHECK curation policy
Source:R/zenodo.R
check_register_zenodo_policy.RdCheck all Zenodo-hosted certificates of a register against the curation policy
Value
a data.frame with one row per checked certificate and the columns `certificate`, `record_id`, `status` ("compliant", "non-compliant" or "unknown"), `n_fail`, `n_warn`, `n_info` and `findings`. An "info" finding (e.g. a creator recorded as an organisation, which is correct for a genuine group) never makes a record non-compliant
Details
Runs [zenodo_policy_check()] over every register entry whose report is a Zenodo DOI. Meant to run at the end of a register render as a maintainer signal, so it never fails: an unreachable record, a 404 or a malformed response yields the status "unknown" rather than an error, and entries whose report is not a Zenodo DOI are skipped.
Record metadata is cached via [cached_lookup()], which stores conclusive results only, so an outage is retried on the next render instead of being frozen into the cache. Clear it with [register_clear_cache()].