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?
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()
, thenRcpp::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?