metrumresearchgroup / bbr

R interface for model and project management
https://metrumresearchgroup.github.io/bbr/
Other
23 stars 2 forks source link

Refactor current functions to use `nmrec` #599

Closed seth127 closed 9 months ago

seth127 commented 1 year ago

There are several current bbr functions that rely on raw string parsing of the control stream and would likely be more robust if they used the new nmrec package instead. Specifically, once the changes from https://github.com/metrumresearchgroup/nmrec/pull/5 are released (discussion on release begins here).

Several examples:

These don't need to be done all at once, and some may not be worth doing at all, but they were related enough to put them in the same issue. If anyone sees more cases like this in the code base, feel free to add them to this issue.

kyleam commented 1 year ago

Specifically, once the changes from https://github.com/metrumresearchgroup/nmrec/pull/5 are released

This is probably for discussion outside of GitHub, but, in the case of bbr (at least for non-optional code), won't a bbr release that depends on nmrec need to wait for nmrec make it to MPN?

kyleam commented 1 year ago

And thanks for pulling together these examples.

seth127 commented 1 year ago

won't a bbr release that depends on nmrec need to wait for nmrec make it to MPN?

Hmmm, good thought there. Yes, let's discuss offline. I'm not sure that's a hard requirement, but probably is the smoothest path forward.

kyleam commented 9 months ago

I don't think there's anything in-flight here. It probably makes sense to open a dedicated PR for anything else that comes up, but please reopen if I'm missing something.