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

Peng Yu pengyu.ut at gmail.com
Wed Aug 22 21:49:06 CEST 2012


Hi Hadley,

> The development version of devtools now attempts to compile C, C++ and
> fortran code in your src/ directory, and then dynamically link into
> your running R session (thanks to hard work by Winston Chang).  It's
> unlikely to be perfect (or to work for large, complicated projects),
> but it's a step forward, and should be useful if you only have a few
> c++ files.

devtools on github is still of version 0.7.1. Are you talking about a
branch different from master? In the newer version, when I call
load(), it will automatically compile the C++ code?

-- 
Regards,
Peng


More information about the Rcpp-devel mailing list