test_column_min: Test minimum value of a column

Description Usage Arguments Details Value Examples

View source: R/col-tests.R

Description

Performs a test that no value in a specific column is smaller than an expected value.

Usage

1
test_column_min(df, col, min_expected)

Arguments

df

A dataframe

col

The unquoted column name of the column you want to test

min_expected

The expected minimum value

Details

Note that this test only verifies that all values in the column are greater than or equal to the specified value. It does not test that the minimum value of the column is equal to a certain value.

Value

The dataframe passed to the function.

Examples

1
2
# Basic usage
test_column_min(mtcars, disp, 50)

joshmuncke/easytest documentation built on Aug. 14, 2019, 3:07 p.m.