diffify
diffify copied to clipboard
Entry from function name to get its history
I'd find interesting to know the history of a specific function in a specific package.
In particular:
- when did this specific function appear in the package ?
- That would allow to choose a minimal version number in DESCRIPTION file
- In which versions did this function change ?
- Change in arguments for instance would allow developers to create their functions conditional to package version number
Thank you
That's a nice idea! The data is all there, just need to think about how to structure the front end.
One option would be...
- Add a little "history" icon to each function entry.
- Click it and a modal shows up with all the package versions where the function changed (a bit like the history page for a file on Github).
- For each of those there's a link to the diff of that package version against the one before it. The link also includes a url search parameter that specifies the function of interest.
- When the link is opened the url parameter is read and the page is scrolled to the corresponding function which is also set to open.