Here are some of my addins :
For example, I'd like to know programmatically what function is called by "reprex" for the addin "Reprex selection".
If I go to the repo and browse to "reprex/inst/rstudio/addins.dcf" I can see that it is reprex:::reprex_selection()
.
So I wish to have :
magic("reprex", "Reprex selection")
# [1] "reprex_selection"
Returning the function without naming it would work too.
You can read that
addins.dcf
file withread.dcf()
:Created on 2021-09-13 by the reprex package (v2.0.0)