dot-check_arg_different: Validate that arguments are different

.check_arg_differentR Documentation

Validate that arguments are different

Description

Validate that arguments are different

Usage

.check_arg_different(arg, ..., arg_name = caller_arg(arg), call = caller_env())

Arguments

arg

(any) The value to compare against ....

...

Other arguments that arg must differ from.

arg_name

(character(1)) The argument name shown in error messages.

call

(environment) The environment to use for error messages.

Value

arg (invisibly). Throws an error if any values are identical.


tibblify documentation built on May 9, 2026, 5:07 p.m.