search for: cachegeneric

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

2009 Jul 07
0
Protection stack overflow when calling setGeneric()/setMethod() from within .onLoad()
....onLoad(): ok2 .onLoad(): ok3 but it could be that my session is now corrupted because some users have reported the nasty and now famous: Error in get(name, envir = table) : formal argument "envir" matched by multiple actual arguments Calls: assign ... .getGeneric -> .cacheGeneric -> .cacheGenericTable -> get after they've loaded MyPkg and started to run some other code that is not necessarily calling foo(). Those users are running R-2.9.1 or a very recent R-devel (less than 1 week old) so they are not triggering the reg.finalizer() problem reported here (and fixe...
2014 Nov 25
0
problem with setGroupGeneric from package methods
...fdef <- getGeneric(f, FALSE, searchWhere, fpkg) } else fdef <- getGeneric(f, FALSE, searchWhere, fpkg) if(!is(fdef, "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...