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