Numeric is used in three different ways in base R:
as an alias for double (as in
to mean either integer or double (as in
for something representable as numeric (as in
This function tests for the second, which is often not what you want
so these functions are deprecated.