
Assert that a table conforms to a declarative schema.
Source:R/table_schema.R
assert_table_schema.RdBuild-time gate over a tabular artifact. Aborts when
check_table_schema() reports any "error" diagnostic and warns when it
reports only "warning" ones, so a table that has silently lost a
column, changed type or gained duplicate keys fails at the moment it is
produced instead of downstream. Returns its input, so it can sit inside a
pipeline without changing the value that flows through.