powered by
is_less_than(expected, label = NULL, ...)expect_less_than(object, expected, ..., info = NULL, label = NULL, expected.label = NULL)is_more_than(expected, label = NULL, ...)expect_more_than(object, expected, ..., info = NULL, label = NULL, expected.label = NULL)
expect_less_than(object, expected, ..., info = NULL, label = NULL, expected.label = NULL)
is_more_than(expected, label = NULL, ...)
expect_more_than(object, expected, ..., info = NULL, label = NULL, expected.label = NULL)
NULL
label
all.equal
equals
expect_equal
expect_equivalent
is_equivalent_to
expect_error
throws_error
expect_false
is_false
expect_identical
is_identical_to
expect_is
is_a
expect_match
matches
expect_message
shows_message
expect_named
has_names
expect_null
is_null
expect_output
prints_text
expect_true
is_true
expect_warning
gives_warning
takes_less_than
a <- 9 expect_that(a, is_less_than(10)) expect_less_than(a, 10) expect_less_than(11, 10) a <- 11 expect_that(a, is_more_than(10)) expect_more_than(a, 10) expect_more_than(9, 10)
Run the code above in your browser using DataLab