ffsuitable
tests whether FF_RETURN
is an ff
object like FF_PROTO
and having attributes FF_ATTR
.
ffsuitable(FF_RETURN, FF_PROTO = NULL, FF_ATTR = list()
, strict.dimorder = TRUE, fail = "warning")
ffsuitable_attribs(x)
an object from which to extract attributes for comparison
the object to be tested for suitability
the prototype object which FF_RETURN
should match
a list of additional attributes dominating those from FF_PROTO
if TRUE ffsuitability requires that the dimorders are standard (ascending)
name of a function to be called if not ffsuitable (default warning
)
TRUE if FF_RETURN
object is suitable, FALSE otherwise