Path to this page:
Subject: CVS commit: pkgsrc/devel/R-globals
From: Makoto Fujiwara
Date: 2022-12-18 03:06:36
Message id: 20221218020636.159B4FA90@cvs.NetBSD.org
Log Message:
(devel/R-globals) Updated 0.14.0 to 0.16.2
# Version 0.16.2 [2022-11-21]
## Documentation
* Drop duplicated arguments from `help("walkAST")`.
# Version 0.16.1 [2022-08-28]
## Bug Fixes
* `packagesOf()` for `Globals` failed to return the package of the
globals if the global doesn't have a closure, e.g. `base::pi`
and `data.table::.N`.
# Version 0.16.0 [2022-08-05]
## New Features
* Add `[[<-` and `[<-` for `Globals`, to complement `$<-`.
## Reproducibility
* All functions modifying a `Globals` object guarantee that the
`where` and the `class` attributes are always the last two
attributes and in that order.
## Bug Fixes
* `c()` for `Globals` would lose the `where` environment for any
functions appended.
# Version 0.15.1 [2022-06-24]
## Bug Fixes
* `cleanup()` assumed it was safe to call `env$.packageName` on each
scanned environment, but that might not be true. A classed
environment could be such that `$()` gives an error, rather than
returning something.
# Version 0.15.0 [2022-05-08]
## New Features
* `globalsOf()` gained argument `locals`, which controls whether
globals that exist in "local" environments of a function should be
considered or not, e.g. in `f <- local({ a <- 1; function() a })`,
should `a` be considered a global of `f()` or not. For backward
compatibility reasons, the default is `locals = TRUE`, but this
might become `locals = FALSE` in a later release.
* Any `globals.*` options specific to this packages can now be set
via environment variables `R_GLOBALS_*` when the package is loaded.
For example, `R_GLOBALS_DEBUG=true` sets option `globals.debug =
TRUE`.
## Bug Fixes
* `as.Globals(list(a = NULL))` and `c(Globals(), list(a = NULL))`
would include the calling environment instead of an empty
environment as part of the `where` attribute.
Files: