Exported internal helper functions#560
Conversation
|
@munoztd0 could you elaborate a bit in which context these functions are used in Given this, do you have any thoughts or feedback from rbmiUtils, @bailliem & @tobiasmuetze? |
|
Hi @luwidmer , I can comment a bit on this topic because I adapted a few of the
I think an alternative to exporting these functions (which is clearly easiest short term, but maybe not long term) would be to revisit the forked code in |
|
I must admit exporting some of these makes me a little nervous as they are only really tested narrowly for how they are used in rbmi and were never intended to be more broadly used (lsmeans in particular is very narrowly tested). A good example to me is |
|
My preference would be on a longer-term / sustainable solution. @bailliem @gowerc @gravesti @tobiasmuetze any thoughts from your end? Also, given that we're planning to document the return values for the next version, at the very least, this should be added to the exports, too. |
|
I agree that a long-term solution would be preferable with a focus on what fits into the |
|
So would you be ok if I had more individual and edge cases test for each of the functions and do individual PRs for each ? @luwidmer @gowerc @tobiasmuetze |
|
And as mentioned above, I can also imagine very well that we could summarize the updates we would need in |
juncouses a few non exported symbols fromrbmi. To use a public, stable API and avoid relying on unexported internal symbols, can we consider exporting them in the next release?I have added a test for the ones that did not have one.