check_length: Check argument length

View source: R/check_length.R

check_lengthR Documentation

Check argument length

Description

Check argument length

Usage

check_length(argument, max_allow, arg_name)

Arguments

argument

the argument to evaluate.

max_allow

maximum argument length

arg_name

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

Value

An error message if argument does not fit the max_allow requirements


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