[Defunct]

These functions are defunct.

filter_expect(data, expect_function, ..., not = TRUE)

expect_where(
  where,
  func,
  flt = TRUE,
  data = get_testdata(),
  args = list(),
  func_desc = NULL
)

Arguments

data

A data frame to test. The global test data is used by default.

expect_function

An expectation function.

...

Arguments to pass to expect_function.

not

Reverse the results of the check.

where

<tidy-select> Columns to check

flt

<data-masking> A filter specifying a subset of the data frame to test.

Value

The input data frame filtered to records failing the expectation.