(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).
This commit is contained in:
mef 2020-10-03 13:53:44 +00:00
parent 63e422c4c0
commit 77e25f3530
2 changed files with 7 additions and 7 deletions

View file

@ -1,7 +1,7 @@
# $NetBSD: Makefile,v 1.3 2020/09/20 14:46:00 mef Exp $
# $NetBSD: Makefile,v 1.4 2020/10/03 13:53:44 mef Exp $
R_PKGNAME= withr
R_PKGVER= 2.2.0
R_PKGVER= 2.3.0
CATEGORIES= devel
MAINTAINER= pkgsrc-users@NetBSD.org

View file

@ -1,6 +1,6 @@
$NetBSD: distinfo,v 1.2 2020/09/20 14:46:00 mef Exp $
$NetBSD: distinfo,v 1.3 2020/10/03 13:53:44 mef Exp $
SHA1 (R/withr_2.2.0.tar.gz) = 25c144c312840e47b93b89d673e6e8eac18dba4c
RMD160 (R/withr_2.2.0.tar.gz) = dca3a07b5695680ea9719bec213fdc390d7b7ba4
SHA512 (R/withr_2.2.0.tar.gz) = f56ab518c6457fd58cdcc9e9a5f8ed8f8e6e4ff74299c7d95bd0b9f76725b08c0fc19ec9238f824fda9e577360f608bdcc410ddda7fb673d2a38de0d3f3c3b22
Size (R/withr_2.2.0.tar.gz) = 99545 bytes
SHA1 (R/withr_2.3.0.tar.gz) = 43018e8cab0aa230f91c453cffaf29d25745aef4
RMD160 (R/withr_2.3.0.tar.gz) = 54cfc9a0b2d13af8a6b50a475567f25a7ebe31bd
SHA512 (R/withr_2.3.0.tar.gz) = 4a6012e57444a19065561ab44f309130a1f54e02a59af79b9efc637475571ad119507a058eb44fec6159e158be739fba6e8f5d401eebe2916c2d9399d1a7b76e
Size (R/withr_2.3.0.tar.gz) = 91443 bytes