Link [ pkgsrc | NetBSD | pkgsrc git mirror | PR fulltext-search | netbsd commit viewer ]


   
        usage: [branch:branch] [user:user] [path[@revision]] keyword [... [-excludekeyword [...]]] (e.g. branch:MAIN pkgtools/pkg)




switch to index mode

recent branches: MAIN (8m)  pkgsrc-2024Q1 (9d)  pkgsrc-2023Q4 (56d)  pkgsrc-2023Q2 (88d)  pkgsrc-2023Q3 (168d) 

2024-05-26 20:38:03 UTC Now

2022-12-18 02:06:36 UTC MAIN commitmail json YAML

(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.

(mef)