Use @inheritParams rlang::args_error_context in your package to
document arg and call arguments (or equivalently their prefixed
versions error_arg and error_call).
argparameters should be formatted as argument (e.g. using cli's.argspecifier) and included in error messages. See alsocaller_arg().callparameters should be included in error conditions in a field namedcall. An easy way to do this is by passing acallargument toabort(). See alsolocal_error_call().
Arguments
- arg
 An argument name as a string. This argument will be mentioned in error messages as the input that is at the origin of a problem.
- error_arg
 An argument name as a string. This argument will be mentioned in error messages as the input that is at the origin of a problem.
- call
 The execution environment of a currently running function, e.g.
caller_env(). The function will be mentioned in error messages as the source of the error. See thecallargument ofabort()for more information.- error_call
 The execution environment of a currently running function, e.g.
caller_env(). The function will be mentioned in error messages as the source of the error. See thecallargument ofabort()for more information.
