search for: genenv

Displaying 1 result from an estimated 1 matches for "genenv".

Did you mean: genent
2006 Sep 22
1
Possible bug in base::namespaceImportFrom?
...in methods/R/RMethodUtils.R starts with: getGeneric <- ## return the definition of the function named f as a generic. ## ## If there is no definition, throws an error or returns ## NULL according to the value of mustFind. function(f, mustFind = FALSE, where = .genEnv(f, topenv(parent.frame()), package), package = "") I think the call to getGeneric in namespaceImportFrom should use named arguments because impenv, an environment, will be assigned to the mustFind arg which is most likely not desired. An example where this seems to show u...