[Rcpp-devel] Bug: compileAttributes incorrectly handles Rcpp::export-ed functions with multiple arguments
Davor Cubranic
cubranic at stat.ubc.ca
Fri Jan 17 23:47:14 CET 2014
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: myPackage_1.0.tar.gz
Type: application/x-gzip
Size: 2091 bytes
Desc: not available
URL: <http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20140117/60dfe4fe/attachment.bin>
-------------- next part --------------
More information about the Rcpp-devel
mailing list