On 31 October 2017 at 17:34, Hmamouche Youssef wrote: | Well, i tried one module exposing one class. But the problem still the | same. I don't think this is about fixing code, because the problem is | resolved when i changed the way of loading the module: | | *moduleName <- Module( "moduleName" )* | *.onLoad <- function(libname, pkgname) {}* | | Instead of *loadModule ("moduleName", TRUE)*. So the loadModule () function | that causes this warning.
You are making it difficult for us to help you as we have no idea about your code. You have one advantage: you can look at our working packages. Take RcppAnnoy. It has one templated class, instantiating three different Rcpp Modules objects, which are then loaded via ## ensure module gets loaded loadModule("AnnoyAngular", TRUE) loadModule("AnnoyEuclidean", TRUE) loadModule("AnnoyManhattan", TRUE) The one C++ is pretty simple too: it has no repeated symbol, class, module, or whatever names and loads. 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