Runs the checks that together decide whether a table is ready to share or deposit, and returns a single machine-readable verdict plus a human-readable checklist: profile validation (no errors), lossless JSON round-trip, a working public (redacted) export that leaks none of the policy's dropped fields, attribution availability, and whether the profile projection would drop fields.
Arguments
- x
A krt_tbl.
- profile
Profile to check against (defaults to the table's profile).
Value
A krt_preflight object: a list with profile, ok (TRUE when no
check fails), and checks (a data frame of check, status, detail),
with print(), format(), and as.data.frame() methods.
