Hello, This is fixed in Rcpp implementations I maintain: Rcpp11 and Rcpp98 and tested for in Rcpp-test. https://github.com/romainfrancois/Rcpp11/blob/master/src/attributes.cpp#L1195 https://github.com/romainfrancois/Rcpp98/blob/master/src/attributes.cpp#L1228
Trivial to port the fix to Rcpp. Romain Le 31 déc. 2013 à 05:15, Tim Keitt <tke...@gmail.com> a écrit : > Apologies if this is the wrong list for user questions -- happy to be > redirected -- I did not see it immediately. > > Am I correct in noting that > > // [[Rcpp::export]] > void test(void) > { > // do something > } > > does not generate any code in RcppExports.R? > > Thanks. > > -- > Timothy H. Keitt > http://www.keittlab.org/ > _______________________________________________ > Rcpp-devel mailing list > Rcpp-devel@lists.r-forge.r-project.org > https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel
_______________________________________________ Rcpp-devel mailing list Rcpp-devel@lists.r-forge.r-project.org https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel