On 10 March 2015 at 19:06, JJ Allaire wrote: | Right now compileAttributes doesn't scan code in subdirectories. This | is mostly because for it to be really seamless compileAttributes | should run before every build. We therefore want to keep the total | execution time <= 50ms. | | Since some R packages have *a lot* of code in subdirectories of src we | didn't want to get into scanning recursively before every build.
And the simple solution is that if you do have a lot of code in such subdirectories, maybe you should consider writing _explicit_ interfaces rather than relying on compileAttributes() Or, conversely, write accessors in the top-level directory and compileAttributes() will take care of you. Dirk -- http://dirk.eddelbuettel.com | @eddelbuettel | e...@debian.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