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' of the 'Writing R Extensions' manual.
Is there a workaround known?
Thanks in advance,
Stefan
--
http://s-boehringer.org