[Rd] R CMD check --use-valgrind doesn't run valgrind on tests
Yohan Chalabi
chalabi at phys.ethz.ch
Mon Aug 17 14:00:32 CEST 2009
>>>> "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
More information about the R-devel
mailing list