Skip to content

[Rcpp-devel] Unit tests

2 messages · Romain Francois, Dirk Eddelbuettel

#
Ah. We were not talking about the same thing. For this I think this is a chicken and egg problem. 

I've moved some of the logic into a private function, but the pdf version is generated too early. 

-----Original Message-----
From: francoisromain at free.fr
Date: Mon, 4 Jan 2010 16:05:08 
To: Dirk Eddelbuettel<edd at debian.org>; <rcpp-devel-bounces at lists.r-forge.r-project.org>; rcpp-devel<rcpp-devel at lists.r-forge.r-project.org>
Subject: Re: [Rcpp-devel] Unit tests


Good idea, I'll do that tonight. 

One bonus I realized yesterday is that the cran page shows the vignette, but as you say it is quite boring and the link does not work. 

Romain

------Message d'origine------
De: Dirk Eddelbuettel
Exp?diteur: rcpp-devel-bounces at lists.r-forge.r-project.org
?: rcpp-devel
Envoy?: 4 jan 2010 16:29
Objet: [Rcpp-devel] Unit tests


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 4 January 2010 at 16:08, francoisromain at free.fr wrote:
| Ah. We were not talking about the same thing. For this I think this is a chicken and egg problem. 
| 
| I've moved some of the logic into a private function, but the pdf version is generated too early. 

Well if we can't do it we can't do it.  The current pdf is stupid.  Either we
do something to make it smart or it has to go.  We could at least include the
sources.  But an empty placeholder is silly.

Dirk