Open ggrothendieck opened 10 years ago
Yes, this would be possible -- I have a solution already here: https://github.com/kevinushey/Kmisc/blob/master/R/registerFunctions.R. It would just be a matter of porting it to attributes
(and cleaning up some of the semantics, I suppose)
That is very nitfy. Is there an example of a package that runs registerFunctions during the build/install that I could examine?
Would it be feasible for the attributes package to automatically generate the
R_CallMethodDef
array as discussed in R-exts ?(This array is needed if you want to allow other packages to link to the code in the package you are developing.)