Displaying 1 result from an estimated 1 matches for "r_usemethod_forward_locals".
2023 Oct 20
0
UseMethod forwarding of local variables
...major
release.
Fortunately only a small number of packages on CRAN (see below) seem
to make use of this feature directly; a few more as reverse
dependencies. The maintainers of the directly affected packages will
be notified separately.
Current R-devel allows you to set the environment variable
R_USEMETHOD_FORWARD_LOCALS=none to run R without this feature or
R_USEMETHOD_FORWARD_LOCALS=error to signal an error when a forwarded
variable's value is used.
Some more details:
An example:
> foo <- function(x) { yyy <- 77; UseMethod("foo") }
> foo.bar <- function(x) yyy
> f...