Skip to content
Prev 1522 / 12125 Next

[R-pkg-devel] Any new developments on "apparent S3 method" issue?

OK thanks -- this gives me a new perspective. I see this result:

    > tools::nonS3methods("coda")
    [1] "as.mcmc.list"

which indicates more about the mechanisms in place for this kind of situation. So now it seems that if package 'pkg_B' simply imports and exports a function 'looks.like.S3.method'  from package 'pkg_A', and 'looks.like.S3.method' is already known via tools::nonS3methods("pkg_A") and thus has a check exclusion, then 'pkg_B' should have the same check exclusion. I recognize that such a check-exclusion-inheritance provision may not be very straightforward to implement.

Russ

-----Original Message-----
From: Uwe Ligges [mailto:ligges at statistik.tu-dortmund.de] 
Sent: Thursday, May 4, 2017 3:06 AM
To: Lenth, Russell V <russell-lenth at uiowa.edu>; r-package-devel at r-project.org
Subject: Re: [R-pkg-devel] Any new developments on "apparent S3 method" issue?
On 03.05.2017 18:39, Lenth, Russell V wrote:
Yes. coda had the name for a very long time and it was not reasonable to fix this naming in felicity later on, hence there is a check exclusion in R-devel/src/library/tools/R/utils.R for as.mcmc.list in package coda.

Best,
Uwe Ligges