-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
From https://wahani.github.io/modules/:
If you want proper documentation for your functions or modules you really want a package.
I wonder if this is actually the case. If, on creating a module, we created a 'help' attribute for objects in the module list, we could get any roxygen blocks that immediately precede any function definitions, possibly parse them, and then apply them to the 'help' attribute. A simple function could then look up the 'help' attribute for any object in the module list and print that to the console.
I would personally find that extremely useful.
- Is this functionality that you would consider adding?
- Is there something obvious that I am missing?
- Would you be open to me trying to implement something like this?
I'm not really sure of the mechanics of the displaying things in the normal help window in RStudio/Positron, but that might even be possible as well.
Metadata
Metadata
Assignees
Labels
No labels