expect_equal(
current,
target,
tolerance = sqrt(.Machine$double.eps),
info = NA_character_,
...
)expect_identical(current, target, info = NA_character_)
expect_equivalent(
current,
target,
tolerance = sqrt(.Machine$double.eps),
info = NA_character_,
...
)
expect_true(current, info = NA_character_)
expect_false(current, info = NA_character_)
expect_silent(current, quiet = TRUE, info = NA_character_)
expect_null(current, info = NA_character_)
expect_inherits(current, class, info = NA_character_)
expect_error(
current,
pattern = ".*",
class = "error",
info = NA_character_,
...
)
expect_warning(
current,
pattern = ".*",
class = "warning",
info = NA_character_,
strict = FALSE,
...
)
expect_message(
current,
pattern = ".*",
class = "message",
info = NA_character_,
strict = FALSE,
...
)
expect_stdout(current, pattern = ".*", info = NA_character_, ...)