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


Data-Camp/testwhat documentation built on June 24, 2022, 9:59 p.m.