Skip to contents

Provides a nicer error message generated through cli::cli_alert_danger().

Usage

assert_that_(..., env = parent.frame(), msg = NULL)

Arguments

...

Passed to assertthat::assert_that().

env

Passed to assertthat::assert_that() and cli::cli_alert_danger(). Defaults to caller env.

msg

Passed to cli::cli_alert_danger().

Value

TRUE if assertion is TRUE :)