Validate an Rxs tree

rxs_validation(rxsTree, stopOnFailure = FALSE, rxsStructure = NULL)

## Arguments

rxsTree

The Rxs tree.

stopOnFailure

Whether to throw an error when validation fails.

rxsStructure

Optionally, the rxsStructure as resulting from a call to rxs_parseSpecifications().

## Value

Invisibly, the Rxs tree (which was altered in place, consistent with the reference semantics employed by data.tree::Node() - so you can just discard the result).