Re: [Rd] inheritance and attach

2021-03-15 Thread Simon Urbanek
Terry, NEWS: CHANGES IN R 4.0.0 NEW FEATURES \item S3 method lookup now by default skips the elements of the search path between the global and base environments. If you use attach(), S3 methods are hence no longer dispatched to (because it is between global and base) unless you regi

[Rd] inheritance and attach

2021-03-15 Thread Therneau, Terry M., Ph.D. via R-devel
This change in R-devel just bit me.   Under the newest release, if I attach() another .RData directory, the methods are not detected. Was it intentional?   Running in Linux.   Here is a script of an example that works fine under 3.6.2. but fails in R-devel. tmt% mkdir temp1 tmt% cd temp1 tmt%