Code
check_vector_valid(1, "integer")
Condition
Error:
! `x` must be integer vectors, not a number.
Code
check_vector_valid(TRUE, c("numeric", "integer"))
Condition
Error:
! `x` must be numeric or integer vectors, not `TRUE`.
Code
check_vector_valid(data.frame(x = 1), c("numeric", "integer"))
Condition
Error:
! `x` must be numeric or integer vectors, not a data frame.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.