[Rcpp-devel] Unit tests

Romain François francoisromain at free.fr
Mon Jan 4 21:58:32 CET 2010


On 01/04/2010 04:29 PM, Dirk Eddelbuettel wrote:
>
> R>  library(Rcpp)
> R>  ?RcppUnitTests
> R>
>
> is really clever, but the pdf is really dumb. Can we include the .txt file
> also in the .pdf using Sweave magic?
>
> Dirk

Not sure this does the trick. I've moved the logic back into the Rd file.

If I do :

 > options( help_type = "pdf" )
 > ?RcppUnitTests

The pdf file that gets generated contains the txt report

Romain

-- 
Romain Francois
Professional R Enthusiast
+33(0) 6 28 91 30 30
http://romainfrancois.blog.free.fr
|- http://tr.im/IW9B : C++ exceptions at the R level
|- http://tr.im/IlMh : CPP package: exposing C++ objects
`- http://tr.im/HlX9 : new package : bibtex



More information about the Rcpp-devel mailing list