expect_table_has: Expect that the table has a certain property.

Description Usage Arguments Examples

Description

Expect that the table has a certain property.

Usage

1

Arguments

test

ANY. The test to run.

table

character. The name of the table to check.

Examples

1
2
3
4
5
## Not run: 
  expect_table_has(column("id"), table = "flights")
  expect_table_has(count("id") > 0, table = "flights")

## End(Not run)

avantcredit/dbtest documentation built on May 11, 2019, 4:06 p.m.