Displaying 2 results from an estimated 2 matches for "r75127".
Did you mean:
375127
2019 Oct 09
2
S3 lookup rules changed in R 3.6.1
tl;dr: S3 lookup no longer works in custom non-namespace environments as of
R 3.6.1. Is this a bug?
I am implementing S3 dispatch for generic methods in environments that are
not
packages. I am trying to emulate the R package namespace mechanism by
having a
?namespace? environment that defines generics and methods, but only exposes
the
generics themselves, not the methods.
To make S3 lookup work
2019 Oct 09
0
S3 lookup rules changed in R 3.6.1
...nger works in custom non-namespace environments as of
> R 3.6.1. Is this a bug?
I don't know whether this was intentional or not, but a binary search
through the svn commits finds that the errors started in this one:
------------------------------------------------------------------------
r75127 | hornik | 2018-08-13 09:58:47 -0400 (Mon, 13 Aug 2018) | 2 lines
Changed paths:
M /trunk/src/main/objects.c
M /trunk/tests/reg-tests-1a.R
Have S3 methods lookup by default look for the S3 registry in the topenv
of the generic.
--------------------------------------------------------------...