Hello Finlay,
I believe that I ran into a similar problem a few weeks ago. Maybe you can
find it on the recent archive of the list. I was having a similar issue
with RcppExports.cpp not compiling because it couldn't recognize a type.
What ended up working for me was to use the RcppAttributes 'i
On 25 April 2013 at 10:47, Finlay Scott wrote:
| Thanks for the reply. I followed your suggestion and changed the name of the
| header file in /inst/include to 'asWrapExample.h' (the name of the package). I
| then changed the #include in the 'DummyClass_example.cpp' file to reflect that
| change.
Finlay,
Are you running Rcpp 0.10.3 (that version is required for the behavior I
mentioned to work).
If you could provide a fully self-contained reproducible example then it
will be pretty easy for us to track down the source of the troubles
(perhaps create a simple test package then upload it to
Thanks for the reply. I followed your suggestion and changed the name of
the header file in /inst/include to 'asWrapExample.h' (the name of the
package). I then changed the #include in the 'DummyClass_example.cpp' file
to reflect that change. I also added:
PKG_CXXFLAGS=-I../inst/include
To the to