check_cross: Check cross for argument coherence

View source: R/check_cross.R

check_crossR Documentation

Check cross for argument coherence

Description

Check cross for argument coherence

Usage

check_cross(ref_arg, eval_arg, arg_names)

Arguments

ref_arg

the argument for reference length.

eval_arg

the argument to evaluate.

arg_names

vector string with arguments names (ref_arg and eval_arg)

Value

An error message if eval_arg does not fit the ref_arg length.


hydrotoolbox documentation built on Oct. 25, 2022, 1:05 a.m.