pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/R-withr (devel/R-withr) Updated 2.2.0 to 2.3.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e1ee920a2e8e
branches:  trunk
changeset: 440150:e1ee920a2e8e
user:      mef <mef%pkgsrc.org@localhost>
date:      Sat Oct 03 13:53:44 2020 +0000

description:
(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).

diffstat:

 devel/R-withr/Makefile |   4 ++--
 devel/R-withr/distinfo |  10 +++++-----
 2 files changed, 7 insertions(+), 7 deletions(-)

diffs (28 lines):

diff -r 2cc515fa2048 -r e1ee920a2e8e devel/R-withr/Makefile
--- a/devel/R-withr/Makefile    Sat Oct 03 13:49:49 2020 +0000
+++ b/devel/R-withr/Makefile    Sat Oct 03 13:53:44 2020 +0000
@@ -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@localhost
diff -r 2cc515fa2048 -r e1ee920a2e8e devel/R-withr/distinfo
--- a/devel/R-withr/distinfo    Sat Oct 03 13:49:49 2020 +0000
+++ b/devel/R-withr/distinfo    Sat Oct 03 13:53:44 2020 +0000
@@ -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



Home | Main Index | Thread Index | Old Index