Learn R Programming

testdat (version 0.4.2)

expect-defunct: Defunct expectation functions

Description

[Defunct]

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.

Usage

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

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

Value

The input data frame filtered to records failing the expectation.

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.