Developer day outcome:
Allow package data to be able to be round-trip'ed to a PACKAGES file
In support of a conventional repository of package qualities, we decided to make the PACKAGES file (dcf format, similar to DESCRIPTION) the common denominator for sharing package metadata. Writing user-facing data (data which may be used to form decisions) out to a PACKAGES file and reading it back in to R should produce the same object that we may use within riskmetric itself for decisions.
This decision has a few ramifications:
- Scalars are preferred because it's the least ambiguous data to write and read
- Vectors are likely needed as well. Some investigation needed to standardize a style, but we initially took the dependencies fields as inspiration (eg,
a, b, c comma separated list)
- We would like error values to be able to pass through this format. Perhaps as error codes or as R code (similar to
Authors@R)
Even before we have a full implementation of this, I think it would allow other teams to move forward if we could produce a minimal example of what we're aiming for.
Developer day outcome:
Allow package data to be able to be round-trip'ed to a
PACKAGESfileIn support of a conventional repository of package qualities, we decided to make the
PACKAGESfile (dcf format, similar toDESCRIPTION) the common denominator for sharing package metadata. Writing user-facing data (data which may be used to form decisions) out to aPACKAGESfile and reading it back in to R should produce the same object that we may use withinriskmetricitself for decisions.This decision has a few ramifications:
a, b, ccomma separated list)Authors@R)Even before we have a full implementation of this, I think it would allow other teams to move forward if we could produce a minimal example of what we're aiming for.