I maintain the Irregular Time Series (its) package on CRAN. I am currently testing a release. Under 1.8.1 I am able to define a S4 generic 'start' as follows:
if(!isGeneric("start")) {setGeneric("start", useAsDefault=start)} Under 1.9.0, Rcmd check generates an error, as 'start' is not recognised. If I use the NAMESPACE directive IMPORT, all is well: import(stats) (I recall some past postings about refactoring 'base', and I assume that 'stats' is a part of this) However, the additional directive leads to problems under 1.8.1, as one might expect, since 'stats' does not exist under 1.8.1. How to define my S4 generic and make it transparent so that the base function start() is unaffected, in such a way that it will function under 1.8.1 and 1.9.0? Thanks - Giles ********************************************************************** This is a commercial communication from Commerzbank AG.\ \ T...{{dropped}} ______________________________________________ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-devel