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()
andcli::cli_alert_danger()
. Defaults to caller env.- msg
Passed to
cli::cli_alert_danger()
.