expect-defunct {testdat} | R Documentation |
Defunct expectation functions
Description
These functions are defunct.
-
expect_where()
works exactly likeexpect_all()
. When testdat useddplyr::vars()
as standardexpect_where()
provided an alternative interface usingtidy-select
.
Usage
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 |
< |
flt |
< |
Value
The input data frame filtered to records failing the expectation.
[Package testdat version 0.4.2 Index]