stop_options_message: Incorrect type

Description Usage Arguments Value Examples

View source: R/main.R

Description

Reports an error if x is not of type y.

Usage

1

Arguments

x

character vector or array that must be of type y.

y

character vector of allowed types.

Value

Error message if any component of x is not of type y.

Examples

1
2
3
4
5
## Reports an error (not run)
#x <- c("cat","dog")
#y <- c("cat","bird","fish")

#stop_options_message(x,y)

tpgarcia/stride documentation built on March 18, 2021, 3:42 p.m.