util_error | R Documentation |
Produce an error message with a useful short stack trace. Then it stops the execution.
util_error(
m,
...,
applicability_problem = NA,
intrinsic_applicability_problem = NA,
integrity_indicator = "none",
level = 0,
immediate
)
m |
error message or a condition |
... |
arguments for sprintf on m, if m is a character |
applicability_problem |
logical error indicates missing metadata |
intrinsic_applicability_problem |
logical error unsuitable resp_vars |
integrity_indicator |
character the message is an integrity problem, here is the indicator abbreviation.. |
level |
integer level of the error message (defaults to 0). Higher levels are more severe. |
immediate |
logical not used. |
nothing, its purpose is to stop.
Other condition_functions:
util_condition_constructor_factory()
,
util_deparse1()
,
util_find_external_functions_in_stacktrace()
,
util_find_first_externally_called_functions_in_stacktrace()
,
util_find_indicator_function_in_callers()
,
util_message()
,
util_warning()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.