compare: Check if object is true, false, >= or <.

compareR Documentation

Check if object is true, false, >= or <.

Description

Utility functions to use inside check_that.

Usage

is_true(x)

is_false(x)

is_gte(x, y)

is_lt(x, y)

Arguments

x

object to test

y

single numeric value to compare


datacamp/testwhat documentation built on June 26, 2022, 9:07 a.m.