pgilbert@bank-banque-canada.ca
2001-Aug-15 16:19 UTC
[Rd] documented but missing from the code (PR#1054)
In R-devel (Aug 15) I am getting some warnings "Objects documented but missing from the code:" The ones I have checked are definitely in the code, so I suspect there is a bug in this check. I'm very busy today and then away until after the projected release of the new version so I cannot follow up on this as carefully as I would like to. I expect the problem is reproducible with dse from CRAN, though I have been testing with my own working copy. Paul Gilbert -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-devel-request@stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
ripley@stats.ox.ac.uk
2001-Aug-15 17:30 UTC
[Rd] documented but missing from the code (PR#1054)
On Wed, 15 Aug 2001 pgilbert@bank-banque-canada.ca wrote:> In R-devel (Aug 15) I am getting some warnings > "Objects documented but missing from the code:" > > The ones I have checked are definitely in the code, so I suspect there is a bug in > this check. I'm very busy today and then away until after the projected release of > the new version so I cannot follow up on this as carefully as I would like to. I > expect the problem is reproducible with dse from CRAN, though I have been testing > with my own working copy.Until very recently this was true for objects in zzz.R. One example in dse is scale.default, which is not in the code and is in the documentation (incorrectly). Generated objects are (correctly) marked as not in the code. R-devel does not have a projected release date, and is not the next version planned (1.3.1 on August 31). I'd guess its release is several months off. BTW, is it you who is responsible for the scale generic in R? dse has scale <- function(x, ..., scale = TRUE) UseMethod("scale") as R did, and that is incompatible with scale.default (and hence S's scale) which does not have a ... argument. Adding one forces the scale argument to be named and breaks a lot of ported code. Your own scale methods are also incompatible with your own generic. Try running checkMethods(). -- Brian D. Ripley, ripley@stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272860 (secr) Oxford OX1 3TG, UK Fax: +44 1865 272595 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-devel-request@stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._