[Rcpp-devel] Warning: Class "C++Object" is defined (with package slot ‘Rcpp’) but no metadata object found

Alejandra Gonzalez-Beltran alejandra.gonzalez.beltran at gmail.com
Tue Jul 24 15:11:12 CEST 2012


Hi,

When running R CMD INSTALL over our R package, I get the following warning:

Warning: Class "C++Object" is defined (with package slot ‘Rcpp’) but no
metadata object found to revise subclass information---not exported?
 Making a copy in package ‘.GlobalEnv’

(full output below)

I am not importing Rcpp directly.

Could you please provide any pointers on how to fix this warning?

The output of sessionInfo() is included below.

Thanks,

Alejandra


oerc-dynamic-226:R-packages agbeltran$ R CMD INSTALL ISA2R
* installing to library
‘/Library/Frameworks/R.framework/Versions/2.15/Resources/library’
* installing *source* package ‘ISA2R’ ...
** R
** inst
** preparing package for lazy loading
Warning: Class "C++Object" is defined (with package slot ‘Rcpp’) but no
metadata object found to revise subclass information---not exported?
 Making a copy in package ‘.GlobalEnv’
** help
*** installing help indices
** building package indices
** installing vignettes
** testing if installed package can be loaded
*** arch - i386
During startup - Warning message:
Class "C++Object" is defined (with package slot ‘Rcpp’) but no metadata
object found to revise subclass information---not exported?  Making a copy
in package ‘.GlobalEnv’
*** arch - x86_64
 During startup - Warning message:
Class "C++Object" is defined (with package slot ‘Rcpp’) but no metadata
object found to revise subclass information---not exported?  Making a copy
in package ‘.GlobalEnv’

* DONE (ISA2R)


> sessionInfo()
R version 2.15.1 (2012-06-22)
Platform: x86_64-apple-darwin9.8.0/x86_64 (64-bit)

 locale:
[1] C/en_US.UTF-8/C/C/C/C

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base

other attached packages:
[1] ISA2R_1.0.7        Biobase_2.17.6     BiocGenerics_0.3.0

loaded via a namespace (and not attached):
[1] Rcpp_0.9.13     codetools_0.2-8 mzR_1.3.8       tools_2.15.1
 xcms_1.33.13
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20120724/c5dffb49/attachment.html>


More information about the Rcpp-devel mailing list