dm_validate {dm} | R Documentation |
Validator
Description
dm_validate()
checks the internal consistency of a dm
object.
Usage
dm_validate(x)
Arguments
x |
An object. |
Details
In theory, with the exception of new_dm()
, all dm
objects
created or modified by functions in this package should be valid,
and this function should not be needed.
Please file an issue if any dm operation creates an invalid object.
Value
Returns the dm
, invisibly, after finishing all checks.
Examples
dm_validate(dm())
bad_dm <- structure(list(bad = "dm"), class = "dm")
try(dm_validate(bad_dm))
[Package dm version 1.0.10 Index]