Skip to content
Prev 11482 / 63424 Next

Wish list

On Mon, 19 Jan 2004, Frank E Harrell Jr wrote:

            
Well, there is a NEWS file that is worth consulting, and we (Kurt in 
particular) run all the CRAN packages after every major change and daily.
See  http://cran.r-project.org/src/contrib/checkSummary.html.  We do also 
tend to tell package authors directly if their packages break, at least if 
they were previously warning-free.

It seems the sort of thing you do is to call methods directly where you 
could equally well call the generic, since that is what is currently 
failing in Design and Hmisc (if survfit.km is a survfit method).
That's not showing up in failures on the tests under R-patched.  Of the
listed dependencies only grid, lattice and survival have namespaces, and
only survival has been added since 1.8.1.  (I suspect the R-patched tests 
are against the 1.8.1 versions of the recommended packages, not the 
current versions.)
I think it does.  If the package writer wants a function to be private,
would-be users should respect that decision.  Most of the cases we have
encountered have been calling methods directly rather than coercing
objects to the right class and calling the generic.  In extremis, copy
(with permission) the function you want from the package sources and
rename it.

Unless I made a mistake there are no current uses of ::: in CRAN packages, 
and there are very few in base R (and quite a lot of the methods::: should 
probably better be methods::).

Brian