metrumresearchgroup / bbr

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

print methods for helper functions #559

Open seth127 opened 1 year ago

seth127 commented 1 year ago

Summary

Several of our helper functions would be more helpful if they had print methods that displayed nicely, both in the console and in knitting RMD files.

The one that was noticed, and precipitated opening this issue, is check_up_to_date(). When used in a RMD, the knit output looks like this:

Screen Shot 2022-10-19 at 10 29 43 AM

We can certainly do better than that.

Requirements

work in progress...

We need to do a survey of whether there are others like this (e.g. get_based_on() is a contender as well) and then spec out what the print methods should look like.