[Rcpp-devel] How to manage testing code for Rcpp based project?

Peng Yu pengyu.ut at gmail.com
Sat Aug 4 19:08:06 CEST 2012

> then I don't have 100 source files in any of my packages.

If there are only a few things needed to be code in C++ and everything
else is in R, then there should be only a few C++ files, which are
basically most R packages have (if they have any C++ code at all).
When there are a lot of files in C++, I think that given the
limitation in organizing the test code in R packages, it is probably
better to make a stand alone C++ package, and just call some functions
from the C++ package later to export the function to R.

This is my current understanding of the best development strategy.
Please don't hesitate to correct me if my understanding is not


More information about the Rcpp-devel mailing list