Dear Dirk,<div><br></div><div>Thanks for your reply.</div><div><br></div><div>Given that our package does not use Rcpp directly and after reading documentation/forums without finding a solution, it had seem to me that it was a generic warning and that there was no need to provide a pointer to the public repository with our code. </div>
<div><br></div><div>After sending my message, I resolved the warning by adding Rcpp in the 'Depends' section of the DESCRIPTION file.</div><div><br></div><div>Kind regards,</div>
<div><br></div><div>Alejandra<br><div><br><div class="gmail_quote">On 24 July 2012 14:48, Dirk Eddelbuettel <span dir="ltr"><<a href="mailto:edd@debian.org" target="_blank">edd@debian.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Hi Alejandra.<br>
<div><br>
On 24 July 2012 at 14:11, Alejandra Gonzalez-Beltran wrote:<br>
| Hi,<br>
|<br>
| When running R CMD INSTALL over our R package, I get the following warning:<br>
|<br>
| Warning: Class "C++Object" is defined (with package slot ‘Rcpp’) but no<br>
| metadata object found to revise subclass information---not exported? Making a<br>
| copy in package ‘.GlobalEnv’<br>
|<br>
| (full output below)<br>
|<br>
| I am not importing Rcpp directly.<br>
|<br>
| Could you please provide any pointers on how to fix this warning?<br>
<br>
</div>No. And you need to understand why: without a reproducible example there is<br>
NOTHING we can do here but point you to<br>
<br>
the Rcpp-package vignette<br>
<br>
the Rcpp.package.skeleton() function and its help<br>
<br>
the sources of 73 existing CRAN packages using Rcpp<br>
<br>
to see how working packages are laid out.<br>
<br>
Regards, Dirk<br>
<div><div><br>
| The output of sessionInfo() is included below.<br>
|<br>
| Thanks,<br>
|<br>
| Alejandra<br>
|<br>
|<br>
| oerc-dynamic-226:R-packages agbeltran$ R CMD INSTALL ISA2R<br>
| * installing to library ‘/Library/Frameworks/R.framework/Versions/2.15/<br>
| Resources/library’<br>
| * installing *source* package ‘ISA2R’ ...<br>
| ** R<br>
| ** inst<br>
| ** preparing package for lazy loading<br>
| Warning: Class "C++Object" is defined (with package slot ‘Rcpp’) but no<br>
| metadata object found to revise subclass information---not exported? Making a<br>
| copy in package ‘.GlobalEnv’<br>
| ** help<br>
| *** installing help indices<br>
| ** building package indices<br>
| ** installing vignettes<br>
| ** testing if installed package can be loaded<br>
| *** arch - i386<br>
| During startup - Warning message:<br>
| Class "C++Object" is defined (with package slot ‘Rcpp’) but no metadata<br>
| object found to revise subclass information---not exported? Making a copy in<br>
| package ‘.GlobalEnv’ <br>
| *** arch - x86_64<br>
| During startup - Warning message:<br>
| Class "C++Object" is defined (with package slot ‘Rcpp’) but no metadata<br>
| object found to revise subclass information---not exported? Making a copy in<br>
| package ‘.GlobalEnv’ <br>
|<br>
| * DONE (ISA2R)<br>
|<br>
|<br>
| > sessionInfo()<br>
| R version 2.15.1 (2012-06-22)<br>
| Platform: x86_64-apple-darwin9.8.0/x86_64 (64-bit)<br>
|<br>
| locale:<br>
| [1] C/en_US.UTF-8/C/C/C/C<br>
|<br>
| attached base packages:<br>
| [1] stats graphics grDevices utils datasets methods base <br>
| <br>
|<br>
| other attached packages:<br>
| [1] ISA2R_1.0.7 Biobase_2.17.6 BiocGenerics_0.3.0<br>
|<br>
| loaded via a namespace (and not attached):<br>
| [1] Rcpp_0.9.13 codetools_0.2-8 mzR_1.3.8 tools_2.15.1 <br>
| xcms_1.33.13 <br>
|<br>
</div></div>| ----------------------------------------------------------------------<br>
| _______________________________________________<br>
| Rcpp-devel mailing list<br>
| <a href="mailto:Rcpp-devel@lists.r-forge.r-project.org" target="_blank">Rcpp-devel@lists.r-forge.r-project.org</a><br>
| <a href="https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel" target="_blank">https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel</a><br>
<span><font color="#888888">--<br>
Dirk Eddelbuettel | <a href="mailto:edd@debian.org" target="_blank">edd@debian.org</a> | <a href="http://dirk.eddelbuettel.com" target="_blank">http://dirk.eddelbuettel.com</a><br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>
</div></div>