When compileAttributes comes across an export-ed C++ function that has one or 
more attributes, it generates two versions of it in RcppExports.cpp and 
RcppExports.R: one with the correct arguments, and one with no arguments. Does 
anyone else see this? I'm attaching a simple package created with 
Rcpp.package.skeleton("myPackage", attributes = TRUE), which I then edited to 
add a parameter "NumericVector z" to function "rcpp_hello_world" and manually 
rerun "compileAttributes()".

System details: R 3.0.2 on x86_64-apple-darwin10.8.0 (OS X Lion 10.7.5) and 
Rcpp 0.10.6 installed from CRAN.

Davor

Attachment: myPackage_1.0.tar.gz
Description: GNU Zip compressed data



_______________________________________________
Rcpp-devel mailing list
Rcpp-devel@lists.r-forge.r-project.org
https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel

Reply via email to