hubverse-org / hubValidations

Testing framework for hubverse hub validations
https://hubverse-org.github.io/hubValidations/
Other
1 stars 4 forks source link

Function to create `hub_validation` class objects + methods for manipulating them #25

Closed annakrystalli closed 1 year ago

annakrystalli commented 1 year ago

Currently we're just appending preppending hub_validation to a list object class attribute.

A more formal approach would allow:

We should also add methods for working wth hub_validation objects, for example merging two hub_validations objects or adding to one. Currently, using c() to add additional check results to a hub_validations object causes it to drop it's class.