validity-tests: Alternate check for validity

Description Usage Arguments Functions See Also

Description

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().

Usage

1
2
3
is_valid(object, complete = FALSE)

are_valid(lst, complete = FALSE)

Arguments

object

an S4 object to test for validity

complete

logical; if TRUE, validObject is called recursively for each of the slots. The default is FALSE.

lst

a list of S4 objects to test for validity.

Functions

See Also

Other validity-tests: expect_valid


testextra documentation built on Dec. 18, 2019, 9:38 a.m.