These functions will test if an object is valid
returning a value appropriate to use in assertthat::validate_that(),
assertthat::assert_that(), or assertthat::see_if().
is_valid(object, complete = FALSE)are_valid(lst, complete = FALSE)
an S4 object to test for validity
logical; if TRUE, validObject is
called recursively for each of the slots. The default is FALSE.
a list of S4 objects to test for validity.
is_valid: Check if an object is valid.
are_valid: Check if each element in a list is valid.
Other validity-tests: expect_valid