Rcpp11 / attributes

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

compileAttributes() with Rcpp #22

Closed kevinushey closed 10 years ago

kevinushey commented 10 years ago

E.g.: http://stackoverflow.com/questions/23610906/roxygen2-says-error-file-already-exists-rcppexports-cpp

If someone uses attributes::compileAttributes() to compile attributes in a package, but then later decides to switch back to Rcpp, e.g. Rcpp::compileAttributes(), then Rcpp::compileAttributes() will complain as per the SO post. (Currently, attributes::compileAttributes() is silently overwriting the previous files if they exist)

Should we use the same generator token and force compatibility here?

romainfrancois commented 10 years ago

Yes definitely;