Re: [Rd] R CMD check --use-valgrind doesn't run valgrind on tests

2009-08-17 Thread Yohan Chalabi
"PBR" == Prof Brian Ripley 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

[Rd] S4 Generics and NAMESPACE : justified warning ?

2009-08-17 Thread Yohan Chalabi
Dear list, It seems that a package (pkgB) using another package (pkgA) with S4 generics formed by taking existing functions (for example 'plot') must not import the existing functions ('plot') in its namespace to avoid the warning "replacing previous import: plot". Suppose we use the simple 'impo

Re: [Rd] R CMD check --use-valgrind doesn't run valgrind on tests

2009-08-17 Thread Prof Brian Ripley
This was not implemented in R 2.9.x -- the comments in check.in don't agree with the usage, and it seemed unlikely that anyone really wanted this (it can be very slow, so perhaps a test at a time?), so this was intentional (apart from not altering the reported usage). I've added it back for 2.