From chalabi at phys.ethz.ch  Mon Aug 17 14:00:32 2009
From: chalabi at phys.ethz.ch (Yohan Chalabi)
Date: Mon, 17 Aug 2009 14:00:32 +0200
Subject: [Rd] R CMD check --use-valgrind doesn't run valgrind on tests
In-Reply-To: <alpine.LFD.2.00.0908171030170.24846@gannet.stats.ox.ac.uk>
References: <mailman.19.1250330405.9562.r-devel@r-project.org>
	<20090816223749.GA402@stat.umn.edu>
	<alpine.LFD.2.00.0908171030170.24846@gannet.stats.ox.ac.uk>
Message-ID: <20090817140032.1fc2eb14@mimi>

>>>> "PBR" == Prof Brian Ripley <ripley at stats.ox.ac.uk>
>>>> on Mon, 17 Aug 2009 10:34:55 +0100 (BST)

   PBR> This was not implemented in R 2.9.x -- the comments in
   PBR> check.in don't
   PBR> agree with the usage, and it seemed unlikely that anyone
   PBR> really wanted
   PBR> this (it can be very slow, so perhaps a test at a time?),
   PBR> so this was
   PBR> intentional (apart from not altering the reported usage).
   PBR>
   PBR> I've added it back for 2.9.2.
   PBR>
   PBR> It also showed up that R CMD BATCH -d valgrind did not work
   PBR> (but
   PBR> --debugger=valgrind did): also fixed for 2.9.2.


It seems that 'R CMD check' uses now by default valgrind on tests with
the recent changes.

Shouldn't valgrind be only used with 'R CMD check --use-valgrind' ?


regards,
Yohan

-- 
PhD student
Swiss Federal Institute of Technology
Zurich

www.ethz.ch



[Rd] R CMD check --use-valgrind doesn't run valgrind on tests
Yohan Chalabi