Re: [Rcpp-devel] Warning when using modules

2017-10-31 Thread Dirk Eddelbuettel
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" )

Re: [Rcpp-devel] Warning when using modules

2017-10-31 Thread Hmamouche Youssef
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 *loadMod

Re: [Rcpp-devel] Warning when using modules

2017-10-30 Thread Hmamouche Youssef
Yes, i have more than one module, but each one is defined with different name. 2017-10-30 22:52 GMT+01:00 Dirk Eddelbuettel : > > On 30 October 2017 at 22:12, Hmamouche Youssef wrote: > | Hi, > | > | In a Rcpp package with the use of modules to convert c++ class, > | i get the following warning

Re: [Rcpp-devel] Warning when using modules

2017-10-30 Thread Dirk Eddelbuettel
On 30 October 2017 at 22:12, Hmamouche Youssef wrote: | Hi, | | In a Rcpp package with the use of modules to convert c++ class, | i get the following warning when I tested the module: | | Found more than one class "Rcpp-moduleName" in cache; using the first, from | namespace 'packageName'. | |