[Rd] getAnywhere (PR#4275)
maechler at stat.math.ethz.ch
maechler at stat.math.ethz.ch
Mon Oct 6 19:18:14 MEST 2003
>>>>> "Mark" == Mark Bravington <Mark.Bravington at csiro.au>
>>>>> on Wed, 24 Sep 2003 10:06:49 +0200 (MET DST) writes:
Mark> 'getAnywhere' is not reporting methods when there are
Mark> periods in the class name or the generic name (in R-devel).
>> getAnywhere( 'predict.loess')
Mark> A single object matching 'predict.loess' was found
Mark> It was found in the following places
Mark> registered S3 method for predict from namespace modreg
Mark> namespace:modreg
Mark> with value
Mark> <<...>>
>> getAnywhere( 'predict.smooth.spline.fit')
Mark> A single object matching 'predict.smooth.spline.fit' was found
Mark> It was found in the following places
Mark> namespace:modreg
Mark> with value
Mark> <<...>>
Mark> In the second case, the report doesn't state that
Mark> 'predict.smooth.spline.fit' is a registered method.
Mark> Also e.g.
>> getAnywhere( 'as.dendrogram.hclust')
Mark> doesn't report that this is a registered method.
Mark> It looks like the two lines in 'getAnywhere' starting
Mark> "gen <-" & "cl <- " might want to become:
Mark> gen <- paste(parts[1:(i - 1)], collapse = ".")
Mark> cl <- paste(parts[ i:length(parts)], collapse = ".")
Exactly!
Thank you, Mark, for the report and the proposed patch.
It is currently running the tests will most probably be
committed before tomorrows beta snapshot.
Martin Maechler
Mark> Mark Bravington
Mark> CSIRO (CMIS)
Mark> PO Box 1538
Mark> Castray Esplanade
Mark> Hobart
Mark> TAS 7001
Mark> phone (61) 3 6232 5118
Mark> fax (61) 3 6232 5012
Mark> Mark.Bravington at csiro.au
Mark> --please do not edit the information below--
Mark> Version:
Mark> platform = i386-pc-mingw32
Mark> arch = i386
Mark> os = mingw32
Mark> system = i386, mingw32
Mark> status = alpha
Mark> major = 1
Mark> minor = 8.0
Mark> year = 2003
Mark> month = 09
Mark> day = 22
Mark> language = R
More information about the R-devel
mailing list