# NOT RUN {
# All good
check_predictors_are_numeric(mtcars)
# Species is not numeric
check_predictors_are_numeric(iris)
# This gives an intelligent error message
try(validate_predictors_are_numeric(iris))
# }
Run the code above in your browser using DataLab