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

Dirk Eddelbuettel edd at debian.org
Tue Jul 24 15:48:00 CEST 2012


Hi Alejandra.

On 24 July 2012 at 14:11, Alejandra Gonzalez-Beltran wrote:
| 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?

No. And you need to understand why: without a reproducible example there is
NOTHING we can do here but point you to

   the Rcpp-package vignette
 
   the Rcpp.package.skeleton() function and its help 

   the sources of 73 existing CRAN packages using Rcpp

to see how working packages are laid out.

Regards,  Dirk

| 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   
| 
| ----------------------------------------------------------------------
| _______________________________________________
| Rcpp-devel mailing list
| Rcpp-devel at lists.r-forge.r-project.org
| https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel
-- 
Dirk Eddelbuettel | edd at debian.org | http://dirk.eddelbuettel.com  


More information about the Rcpp-devel mailing list