Redirect is.numeric(x) || is.integer(x) to just use is.numeric(x)
is.numeric(x) || is.integer(x)
is.numeric(x)
Useful links