Description Usage Arguments Value Examples
Reports an error if x
is not of type y
.
1 | stop_options_message(x, y)
|
x |
character vector or array that must be of type |
y |
character vector of allowed types. |
Error message if any component of x
is not of type y
.
1 2 3 4 5 | ## Reports an error (not run)
#x <- c("cat","dog")
#y <- c("cat","bird","fish")
#stop_options_message(x,y)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.