Path to this page:
./
devel/R-globals,
Identify Global Objects in R Expressions
Branch: CURRENT,
Version: 0.16.3,
Package name: R-globals-0.16.3,
Maintainer: pkgsrc-usersIdentifies global ("unknown" or "free") objects in R expressions by
code inspection using various strategies (ordered, liberal, or
conservative). The objective of this package is to make it as simple
as possible to identify global objects for the purpose of exporting
them in parallel, distributed compute environments.
Master sites: (Expand)
Version history: (Expand)
- (2024-10-18) Updated to version: R-globals-0.16.3
- (2022-12-18) Updated to version: R-globals-0.16.2
- (2021-09-18) Package added to pkgsrc.se, version R-globals-0.14.0 (created)
CVS history: (Expand)
2024-10-18 17:24:49 by Makoto Fujiwara | Files touched by this commit (2) |
Log message:
(devel/R-globals) Updated 0.16.2 to 0.16.3
# Version 0.16.3 [2024-03-07]
## Bug Fixes
* `globalsByName()`, and therefore also `globalsOf()`, did not
support special arguments `..1`, `..2`, etc.
* `cleanup(globals, drop)` on a `Globals` object with non-existing
globals and where `drop` did _not_ specify `"missing"` would throw
an `Error in exists(name, envir = env) : use of NULL environment is
defunct`. Now the non-existing ("missing") globals are preserved.
|
2022-12-18 03:06:36 by Makoto Fujiwara | Files touched by this commit (2) |
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.
|
2021-10-26 12:20:11 by Nia Alarie | Files touched by this commit (3016) |
Log message:
archivers: Replace RMD160 checksums with BLAKE2s checksums
All checksums have been double-checked against existing RMD160 and
SHA512 hashes
Could not be committed due to merge conflict:
devel/py-traitlets/distinfo
The following distfiles were unfetchable (note: some may be only fetched
conditionally):
./devel/pvs/distinfo pvs-3.2-solaris.tgz
./devel/eclipse/distinfo eclipse-sourceBuild-srcIncluded-3.0.1.zip
|
2021-10-07 15:44:44 by Nia Alarie | Files touched by this commit (3017) |
Log message:
devel: Remove SHA1 hashes for distfiles
|
2021-09-18 08:16:57 by Makoto Fujiwara | Files touched by this commit (3) |
Log message:
(devel/R-globals) import R-globals-0.14.0
Identifies global ("unknown" or "free") objects in R \
expressions by
code inspection using various strategies (ordered, liberal, or
conservative). The objective of this package is to make it as simple
as possible to identify global objects for the purpose of exporting
them in parallel, distributed compute environments.
|