[Rd] R-specific environment variables: Naming convention?

2019-10-09 Thread Henrik Bengtsson
In base R, there are lots of environment variables with either prefix 'R_' or '_R_', e.g. R_ENABLE_JIT and _R_RNG_VERSION_. I always considered R_* variables to be "public" and _R_*_ ones being "internal" but realized I don't have a reference for this. Is this true, or is there another reason? Is

Re: [Rd] S3 lookup rules changed in R 3.6.1

2019-10-09 Thread Duncan Murdoch
On 09/10/2019 3:22 p.m., Konrad Rudolph wrote: tl;dr: S3 lookup no longer 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:

[Rd] S3 lookup rules changed in R 3.6.1

2019-10-09 Thread Konrad Rudolph
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 gen