Skip to content

[Rcpp-devel] Unit tests

3 messages · Dirk Eddelbuettel, Romain Francois

#
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
#
On 01/04/2010 04:29 PM, Dirk Eddelbuettel wrote:
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
#
On 4 January 2010 at 21:58, Romain Fran?ois wrote:
| 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

I think you just shifted the debate -- vignette("Rcpp-unitTests") is still
empty and silly vignette.  What shall we about it?

Dirk