check_length: Check argument length

Description Usage Arguments Value

View source: R/check_length.R

Description

Check argument length

Usage

1
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 July 9, 2021, 1:06 a.m.