validate_dt: Check That Data Table Matches Expectations

Description Usage Arguments Value

Description

Use this function to assert certain properties of a data.table

Usage

1
validate_dt(dt, expected_cols)

Arguments

dt

A data.table

expected_cols

A vector of column names that dt must have

Value

NULL if successful, else a fatal error


convoyinc/abayes documentation built on May 12, 2019, 1:34 a.m.