CheckFinite: Check whether there are any non-finite values in a matrix
Description
The C++ functions will not work with NA values, and the calculation of the
summary profile will take a long time to run before crashing.
Value
Throws an error if any NA
, NaN
, Inf
, or -Inf
values are found, otherwise returns silently.