Hi, I'm currently starting to use Rcpp modules to expose a class to R (and this functionality is amazing btw.). However, I usually call devtools::load_all() to compile. With modules, I have to call load_all() 2 times for changes to take effect. This was also discussed here: https://github.com/r-lib/devtools/issues/1653, but this issue was closed. In light of a growing community, I want to discuss if this problem is worth addressing. May someone here have an idea of what's causing this behavior?
Testing this is easy; you need a package with a module. Then expose a .method or .field and call load_all() your .method or .field won't be accessible after creating a new class instance using new(). Call load_all() again and your .method / .field will appear. Many thanks for considering my request. Jonathan
signature.asc
Description: This is a digitally signed message part
_______________________________________________ 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