Currently the runCheck and runSuite functions only call the document and the suite (or check) as arguments. This is in contrast to metadig-engine, where the sysmeta document is a parameter to the main method, and is passed to runSuite, then subsequently made available to runCheck.
We need to add this functionality to metadig-R so that we can write standalone R checks (run using the package, and later metadig-engine) that will depend on the sysmeta (see metadig-rake #9)
I'm not sure to what degree this matters, but the engine handles the sysmeta as just a single string, so metadig-r will likely need to flatten the XML into a single string as well so that any R checks written are compatible with both
Currently the
runCheck
andrunSuite
functions only call the document and the suite (or check) as arguments. This is in contrast tometadig-engine
, where the sysmeta document is a parameter to the main method, and is passed torunSuite
, then subsequently made available torunCheck
.We need to add this functionality to
metadig-R
so that we can write standalone R checks (run using the package, and later metadig-engine) that will depend on the sysmeta (see metadig-rake #9)I'm not sure to what degree this matters, but the engine handles the sysmeta as just a single string, so
metadig-r
will likely need to flatten the XML into a single string as well so that any R checks written are compatible with both