Re: [Rcpp-devel] compileAttributes() does not export function

2014-09-27 Thread JJ Allaire
You need two colons after Rcpp in the attribute, e.g. Rcpp::export On Sat, Sep 27, 2014 at 6:30 AM, Kevin Kunzmann wrote: > Hi, > > I am experiencing a problem with the 'export' attribute. The file > 'cmest.cpp' is compiled all right, but Rcpp misses the function 'cv' both in > RcppExports.cpp as

[Rcpp-devel] compileAttributes() does not export function

2014-09-27 Thread Kevin Kunzmann
Hi, I am experiencing a problem with the 'export' attribute. The file 'cmest.cpp' is compiled all right, but Rcpp misses the function 'cv' both in RcppExports.cpp as well as RcppExports.R - the compileAttributes() function ignores the export statement. Other functions are exported correctly f