check.conversion: Check that the conversion to a data type does not change the number
of NA values
Description
Check that the conversion to a data type does not change the number
of NA values
Usage
check.conversion(x, FUN, ...)
Arguments
FUN
the function to use for conversion
Value
FUN(x, ...)
or an error if the set of NAs change.