<div dir="ltr"><span style="font-size:12.8px">Yes, i have more than one module, but each one is defined  with different name.</span><br></div><div class="gmail_extra"><br><div class="gmail_quote">2017-10-30 22:52 GMT+01:00 Dirk Eddelbuettel <span dir="ltr"><<a href="mailto:edd@debian.org" target="_blank">edd@debian.org</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><br>
On 30 October 2017 at 22:12, Hmamouche Youssef wrote:<br>
| Hi,<br>
|<br>
| In a Rcpp package with the use of modules to convert c++ class,<br>
| i get the following warning when I tested the module:<br>
|<br>
| Found more than one class "Rcpp-moduleName" in cache; using the first, from<br>
| namespace 'packageName'.<br>
|<br>
| To loadmodule, i use the following way in the module.R file:<br>
|<br>
|     - loadModule('moduleName', TRUE)<br>
|<br>
|     - Module ('moduleName', PACKAGE = "packageName").<br>
|<br>
| Is it possible to hide this warning ?<br>
<br>
</span>You probably want to fix your code.  You likely have more than one Module<br>
defined as Rcpp-moduleName.  As the lookup is by name, this is probably not<br>
what you want.<br>
<span class="HOEnZb"><font color="#888888"><br>
Dirk<br>
<br>
--<br>
<a href="http://dirk.eddelbuettel.com" rel="noreferrer" target="_blank">http://dirk.eddelbuettel.com</a> | @eddelbuettel | <a href="mailto:edd@debian.org">edd@debian.org</a><br>
</font></span></blockquote></div><br></div>