>>>>> "Seth" == Seth Falcon <[EMAIL PROTECTED]>
>>>>>     on Thu, 21 Sep 2006 21:52:00 -0700 writes:

    Seth> Hi, namespaceImportFrom in base/R/namespace.R has the
    Seth> following:

    Seth>        fdef <- methods:::getGeneric(genName, impenv)

    Seth> The definition of getGeneric is in
    Seth> methods/R/RMethodUtils.R starts with:

    Seth>     getGeneric <- 
    ......
    Seth>  function(f, mustFind = FALSE, where = .........)

    Seth> I think the call to getGeneric in namespaceImportFrom
    Seth> should use named arguments because impenv, an
    Seth> environment, will be assigned to the mustFind arg
    Seth> which is most likely not desired.

Indeed. Well spotted, Seth!
Fixed and committed for R-devel and R-beta.

Martin

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to