util_error: Produce an error message with a useful short stack trace....

util_errorR Documentation

Produce an error message with a useful short stack trace. Then it stops the execution.

Description

Produce an error message with a useful short stack trace. Then it stops the execution.

Usage

util_error(
  m,
  ...,
  applicability_problem = NA,
  intrinsic_applicability_problem = NA,
  integrity_indicator = "none",
  level = 0,
  immediate
)

Arguments

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.

Value

nothing, its purpose is to stop.

See Also

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()


dataquieR documentation built on May 29, 2024, 7:18 a.m.