CombineSpecs() which combines a list of specs into a single spec
combine_domain() which does the deduplification of columns
update_column() which does the reinforcement of required = TRUE if its set to TRUE anyhwere else in the spec(s), and throws warning message of type is inconsistent
Test Notes/Sample Code
Added new unit tests in corresponding testthat file
Overview
utils-CombineSpecs.R
now contains 3 functions:CombineSpecs()
which combines a list of specs into a single speccombine_domain()
which does the deduplification of columnsupdate_column()
which does the reinforcement ofrequired = TRUE
if its set toTRUE
anyhwere else in the spec(s), and throws warning message oftype
is inconsistentTest Notes/Sample Code
Added new unit tests in corresponding
testthat
file