check_string: Check string argument consistency

Description Usage Arguments Value

View source: R/check_string.R

Description

Check string argument consistency

Usage

1
check_string(argument, target, arg_name)

Arguments

argument

the argument to evaluate.

target

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