search for: cachegenericsmetadata

Displaying 2 results from an estimated 2 matches for "cachegenericsmetadata".

2006 Oct 11
1
dispatching on group generics with more than one formal
please see the code below. foo2 fails to dispatch correctly, but foo does fine. i have tried 'cacheMetaData(1)' and a number of different variants of 'cacheGenericsMetaData', on the possibility there is a caching issue. but i still can't sort it out. also one general question: does it really matter what's in the body of the function definition in a 'setGroupGeneric' call? the actual group function definition is always overwritten by a mess...
2014 Nov 25
0
problem with setGroupGeneric from package methods
...ot;genericFunction")) next ## silently ignores all generics not visible from searchWhere if(attach) .cacheGeneric(f, fdef) else .uncacheGeneric(f, fdef) methods <- .updateMethodsInTable(fdef, where, attach) ### !!! cacheGenericsMetaData(f, fdef, attach, where, fdef at package, methods) } .doLoadActions(where, attach) invisible(NULL) ## as some people call this at the end of functions } ############### # add objects to the generic function's environment that allow # table-based dispatch of methods .setupMethodsTab...