
Audit preregistration checklist consistency
Source:R/preregistration-readiness.R
audit_gazepoint_preregistration_consistency.RdChecks whether a preregistration checklist has corresponding evidence objects and whether those evidence objects contain expected fields. The audit is a documentation-readiness check only; it does not judge study quality or perform automatic exclusion.
Usage
audit_gazepoint_preregistration_consistency(
checklist = NULL,
evidence = list(),
require_required_fields = TRUE
)Arguments
- checklist
A checklist produced by
create_gazepoint_preregistration_checklist(), orNULLto use the default checklist.- evidence
A named list of evidence objects. Each checklist row uses
evidence_keyto look up an object in this list. Evidence objects can be data frames, named lists, character vectors, logical values, or other non-empty objects.- require_required_fields
Logical. If
TRUE, listedrequired_fieldsmust be present in data-frame or named-list evidence.