Message-ID: <200309161141.h8GBfaJH019092@pubhealth.ku.dk>
Date: 2003-09-16T13:43:46Z
From: Brian Ripley
Subject: getGenerics is wrong in 1.8.0 alpha (PR#4184)
I have mentioned this several times, and it is still incorrect. So I am
submitting a formal bug report.
In 1.7.1 in a vanilla session
> getGenerics(2)
An object of class "ObjectsWithPackage":
Object: "Arith" "Compare" "Complex" "Math2" "Math" "Ops" "Summary"
From: "base" "base" "base" "base" "base" "base" "base"
Object: "addNextMethod" "body<-" "coerce" "coerce<-" "initialize" "loadMethod"
From: "methods" "base" "methods" "methods" "methods" "methods"
Object: "show"
From: "methods"
In 1.8.0 alpha (2003-09-16)
> getGenerics(2)
An object of class "ObjectsWithPackage":
Object: "Arith" "Compare" "Complex" "Math2" "Math" "Ops" "Summary"
From: "base" "base" "base" "base" "base" "base" "base"
Object: "addNextMethod" "body<-" "coerce" "coerce<-" "initialize"
From: "methods" "methods" "methods" "methods" "methods"
Object: "loadMethod" "show"
From: "methods" "methods"
body<- is incorrectly attributed to "methods", although it originates in
base (whereas Compare, Complex and Math2 do not occur in base).
--
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 272866 (PA)
Oxford OX1 3TG, UK Fax: +44 1865 272595