check_numeric: Check numeric argument consistency

View source: R/check_numeric.R

check_numericR Documentation

Check numeric argument consistency

Description

Check numeric argument consistency

Usage

check_numeric(argument, target, arg_name)

Arguments

argument

the argument to evaluate.

target

allowed numeric values.

arg_name

string with argument name to print (just for error message)

Value

An error message if argument does not fit the target requirements


hydrotoolbox documentation built on April 14, 2023, 12:34 a.m.