Am 28.10.2019 um 00:48 schrieb Allin Cottrell:
I've begun thinking about representation of R requirements in the
file for a contributed package. Seems to me the information should
probably be in a single line, something like
R-depends = R >= 3.4.3, glmnet >= 1.9-9
If we're just going to print the stuff to the right of the first '=' as
part of a warning when a user fires up a relevant package, easy enough.
Parsing and checking it would not be so easy.
I don't think gretl should be responsible for checking the requirements.
At least that was my understanding of the discussion.
Should we allow for listing multiple known-good versions (of R itself
R packages)? I think I'd prefer just the ">=" notation, with the
(in the warning text) that we can't guarantee that later versions will
still work, although that should be a reasonable expectation.
I would be fine with that, although I do believe it does happen that
later versions will break something. But that's not a big problem IMO.