Rcpp11 / attributes

Standalone implementation of Rcpp attributes.
Other
3 stars 1 forks source link

Generating R_CallMethodDef array #35

Open ggrothendieck opened 10 years ago

ggrothendieck commented 10 years ago

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.)

kevinushey commented 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)

ggrothendieck commented 10 years ago

That is very nitfy. Is there an example of a package that runs registerFunctions during the build/install that I could examine?