This function is a wrapper of stopifnot(), tryCatch() and
cli::cli_abort() and asserts the truthfulness of the passed expression(s).
assert(..., error_message = NULL)expressions >= 1. If named the names are used as error messages, otherwise R's internal error-messages are thrown
character. An error message, supports formatting with the cli package.