search for: haplotype_rcpp_hello_world

Displaying 1 result from an estimated 1 matches for "haplotype_rcpp_hello_world".

2014 Sep 03
1
Rcpp and dot in package name
I have run across a problem with Rcpp and trying to create a package with a name containing a dot ('.') using Rcpp.package.skeleton. I get the following error RcppExports.cpp:10:25: error: expected initializer before '.' token RcppExport SEXP genetics.haplotype_rcpp_hello_world() { implying that Rcpp literally uses the package name in internal function name generation. Unfortunately, if I use an underscore ('_') instead, I get Error : Invalid DESCRIPTION file Malformed package name See the information on DESCRIPTION files in section 'Creating R packages'...