The R Project SVN R

Rev

Show changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
55359 5590 d 10 h pd /branches/R-glmscore/ R-glmscore experimental branch  
54487 5637 d 21 h jmc /trunk/ .findAll revised to search consistently with scoping in non-namespaces
and for soft namespace search

findClasses uses that revision and also checks for matching package
attribute to avoid repeating duplicates.

rewrites to ClassExtensions.R to reduce the false alarms from
codetools

getGeneric uses the package= argument to attempt to load a namespace
or attach the package as needed to find the generic function.

Delete unused function .setDeprecatedAction

findMethods adds a package= argument for consistency with getGeneric
and findClasses

hasMethods uses its package argument, if supplied, to find a methods
table in a package directly, not via the generic function.
 
51322 5974 d 13 h hornik /trunk/ Typos and markup.  
51304 5976 d 3 h jmc /trunk/ getMethods() deprecated; new class listOfMethods  
50609 6083 d 19 h jmc /trunk/ Changes to fix efficiency in dispatch, potential recursive loops, and
incorrect signatures, all for S4 methods for primitive functions.

1. A bug in get_primitive_methods prevented all quick dispatch of primitives from
working. Fixing this exposed a problem in quickDispatch in methods
that prevented matching methods with traiiling "missing" in the
signature.

2. A mechanism was added to temporarily turn off all dispatch of methods for
primitives. The code for findInheritedMethods activates the
mechanism. At the moment, this is just for efficiency, but in
principle it could be needed to avoid recursive calls to
findInheritedMethods.

3. The signatures for "$" and "$<-" were modified to remove "name",
since the grammar prevents general objects for this argument.

Some additional changes were tested but not installed to allow a
general signature in methods for "[", "[[" and their replacement
versions. Problems found with the Matrix package for this change. See
the commented calls to DiispatchAnyOrEval in src/main.
 
50418 6100 d 11 h ripley /trunk/src/library/methods/man/ more on comment lines in Rd files  
46973 6460 d 6 h ripley /trunk/src/library/ more missing copyright headers
small clarification
 
44805 6704 d 4 h jmc /trunk/ All direct use of MethodsList metadata objects (and most indrect) removed; new utilities findMethods, etc