pkgsrc/devel/R-withr
mef 77e25f3530 (devel/R-withr) Updated 2.2.0 to 2.3.0
# withr 2.3.0

## Deprecations

- `local_tempfile()` argument `new` is deprecated, in favor of returning the path
  to the new tempfile.
  calls like `local_tempfile("xyz")` should be replaced with `xyx <- local_tempfile()`
  in your code (#141).

## New features

- New `local_seed()` function and `local_preserve_seed()` functions to correspond
  to `with_seed()` and `with_preserve_seed()` (#139).

- New `local_tempdir()` function added to create a temp directory (#140)

- `local_*()` functions now take dots (`...`), which can simplify calls in some
   cases, e.g. you can now use `local_options(foo = "bar")` rather than
   `local_options(c(foo = "bar"))`.

## Minor improvements and fixes

- `defer()` now throws an error if an error occurs in the deferred expression
   (#148)

- `with_file()` and `local_file()` can now work if the file is actually a
  directory (#144).
2020-10-03 13:53:44 +00:00
..
DESCR
distinfo (devel/R-withr) Updated 2.2.0 to 2.3.0 2020-10-03 13:53:44 +00:00
Makefile (devel/R-withr) Updated 2.2.0 to 2.3.0 2020-10-03 13:53:44 +00:00