groupVecNonVec:
groupVec Extended Class Validation
Description
Checks whether all slots of an object are either not
vectors or have length
Usage
groupVecNonVec(object, exceptSlots)
Arguments
object
the object whose slots are to be checked.
exceptSlots
if present, do not check these slots.
Value
returns TRUE if the slots in the object are atomic or are not vector objects (excluding
the slots in exceptSlots); otherwise, returns a descriptive string.
Details
The function loops through all the slots of the object, and for each
one checks to see that the data in it is either not a vector class,
or if it is a vector class, that it has length