has_missing(1:5) # FALSE
has_missing(c(1, 2, 3, 4, NA)) # TRUE
has_infinite(c(1, 2, Inf, 1/0))
has_infinite(c(-Inf, "infinite"))
has_not_a_number(c(1, 2, 3)) # FALSE
has_not_a_number(c(1, 0/0, 3)) # TRUE
has_not_a_number(c(NaN, pi, log(1))) # TRUE
Run the code above in your browser using DataLab