Closed seth127 closed 1 year ago
Apologies for some sloppy commits at the end. The meat of this is in the first commit, with some ancillary changes in the second and third.
@seth127 Thanks for taking care of this update. I'll leave the main review to @barrettk, but I've run the checks in a setup close to MPN's and verified that they now pass with mrgvalidate 2.0.0.
One drive-by comment on the changes themselves: shouldn't mrgvalidate's version constraint be bumped in the DESCRIPTION file?
One drive-by comment on the changes themselves: shouldn't mrgvalidate's version constraint be bumped in the DESCRIPTION file?
There are notes in the README about using legacy inputs. If we do constrain the version I feel like that would defeat the purpose of those instructions (which suggest its backwards compatible). I think it might make sense to constrain the version, but then I think those notes should provide an example of how to download two corresponding previous tagged releases that support the legacy inputs.
@barrettk
There are notes in the README about using legacy inputs. If we do constrain the version I feel like that would defeat the purpose of those instructions (which suggest its backwards compatible)
Hmm, I might be getting turned around. Aren't those legacy inputs what's documented in vignettes/legacy_inputs.Rmd
? With this PR, that refers to the mrgvalidate 2.0 entry points. (That is, aren't the legacy inputs independent of the mrgvalidate entry point changes?)
Either way, my suggestion to bump the constraint probably isn't a good idea, given that as far as I understand mrgvalprep functionality (as opposed to the docs and a guarded test) is compatible with the current constraint (>= 1.0.0
).
Hmm, I might be getting turned around. Aren't those legacy inputs what's documented in
vignettes/legacy_inputs.Rmd
? With this PR, that refers to the mrgvalidate 2.0 entry points. (That is, aren't the legacy inputs independent of the mrgvalidate entry point changes?)
No I think you're right. I thought the google sheet stuff was only associated with the previous version as well, but that should be separate in terms of backwards compatibility. The docs all reference stuff in 2.0.0 or later (minus the google sheet function references), in that they refer to create_package_docs()
instead of create_validation_docs()
, and only mention the new 7 docs (previously 3). I dont have a strong opinion either way, but it seems we are definitely suggesting they use 2.0.0
Per this discussion above
One drive-by comment on the changes themselves: shouldn't mrgvalidate's version constraint be bumped in the DESCRIPTION file?
I'm pretty sure we don't need this, unless I'm missing something. This package is all about parsing and formatting inputs to mrgvalidate
. I don't think any of this parsing is incompatible with mrgvalidate < 2.0.0
. It's just that mrgvalidate >= 2.0.0
now has a difference interface for passing in those objects that are coming from mrgvalprep
.
To support this point: the only changes here to be "compatible" with mrgvalidate >= 2.0.0
are to the docs and tests. There is no change to the actual functions.
Closes #51