These functions are defunct.
expect_where()
works exactly like expect_all()
. When testdat used
dplyr::vars()
as standard expect_where()
provided an alternative
interface using tidy-select
.
filter_expect(data, expect_function, ..., not = TRUE)
expect_where(
where,
func,
flt = TRUE,
data = get_testdata(),
args = list(),
func_desc = NULL
)
A data frame to test. The global test data is used by default.
An expectation function.
Arguments to pass to expect_function.
Reverse the results of the check.
<tidy-select
> Columns to check
<data-masking
> A filter specifying
a subset of the data frame to test.
The input data frame filtered to records failing the expectation.