pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/parallel/R-promises (parallel/promises) Updated 1.0.1 ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/745da4e9b404
branches:  trunk
changeset: 454015:745da4e9b404
user:      mef <mef%pkgsrc.org@localhost>
date:      Sat Jun 05 08:43:54 2021 +0000

description:
(parallel/promises) Updated 1.0.1 to 1.2.0.1

promises 1.2.0.1
==============

* Added `future_promise()` which returns a `promise` that executes the
  expression using `future::future()`. `future_promise()` should
  (typically) be a drop-in replacement for any `future::future()`
  function call. `future_promise()` will not execute `future` work
  faster than `future::future()`, but `future_promise()` will only
  submit `future` jobs if a worker is available. If no workers are
  available, `future_promise()` will hold the expression information
  in a `promise` until a worker does become available to better take
  advantage of computing resources available to the main R
  session. For more information, please see the [`future_promise()`
  article](https://rstudio.github.io/promises/articles/future_promise.html). (#62)

* Added visibility support for `Promise$then(onFulfilled)`. (#59)

promises 1.1.1
==============

* Fix handling of FutureErrors during `future::resolved()` and
  `future::value()` by discarding the corrupt future. (#37)


promises 1.1.0
==============

* Fixed #49: `promise_all()` previously did not handle `NULL` values correctly. (#50))

* `new_promise_domain` now takes a `wrapOnFinally` argument, which can
  be used to intercept registration of `finally()`. Previous versions
  treated `finally` as passing the same callback to
  `then(onFulfilled=..., onRejected=...)`, and ignoring the result;
  for backward compatibility, promise domains will still treat
  `finally` that way by default (i.e. if `wrapOnFinally` is `NULL`,
  then `finally` will result in `wrapOnFulfilled` and `wrapOnRejected`
  being called, but if `wrapOnFinally` is provided then only
  `wrapOnFinally` will be called). (#43)

diffstat:

 parallel/R-promises/Makefile |  11 +++++++++--
 parallel/R-promises/distinfo |  10 +++++-----
 2 files changed, 14 insertions(+), 7 deletions(-)

diffs (42 lines):

diff -r e377642e2c5c -r 745da4e9b404 parallel/R-promises/Makefile
--- a/parallel/R-promises/Makefile      Sat Jun 05 08:37:14 2021 +0000
+++ b/parallel/R-promises/Makefile      Sat Jun 05 08:43:54 2021 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.2 2019/09/07 13:16:27 maya Exp $
+# $NetBSD: Makefile,v 1.3 2021/06/05 08:43:54 mef Exp $
 
 R_PKGNAME=     promises
-R_PKGVER=      1.0.1
+R_PKGVER=      1.2.0.1
 CATEGORIES=    parallel
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
@@ -12,6 +12,13 @@
 DEPENDS+=      R-rlang>=0.4.0:../../devel/R-rlang
 DEPENDS+=      R-R6-[0-9]*:../../devel/R-R6
 
+TEST_DEPENDS+= R-testthat-[0-9]*:../../devel/R-testthat
+#EST_DEPENDS+= R-future-[0-9]*:../../devel/R-future
+TEST_DEPENDS+= R-fastmap-[0-9]*:../../devel/R-fastmap
+TEST_DEPENDS+= R-purrr-[0-9]*:../../devel/R-purrr
+#EST_DEPENDS+= R-vembedr-[0-9]*:../../devel/R-vembedr
+TEST_DEPENDS+= R-spelling-[0-9]*:../../textproc/R-spelling
+
 USE_LANGUAGES= c c++
 
 .include "../../math/R/Makefile.extension"
diff -r e377642e2c5c -r 745da4e9b404 parallel/R-promises/distinfo
--- a/parallel/R-promises/distinfo      Sat Jun 05 08:37:14 2021 +0000
+++ b/parallel/R-promises/distinfo      Sat Jun 05 08:43:54 2021 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.1 2019/08/09 20:25:29 brook Exp $
+$NetBSD: distinfo,v 1.2 2021/06/05 08:43:54 mef Exp $
 
-SHA1 (R/promises_1.0.1.tar.gz) = f012f91c77e2568bb7063272fca070d4edb6a05e
-RMD160 (R/promises_1.0.1.tar.gz) = 4173875189565657128fe282d97471880be76afb
-SHA512 (R/promises_1.0.1.tar.gz) = b5fccb95c51c391fb67999f983f762deb7d1caa0025f57962b140ddf940e76fbbc8c0b9e34209a25328ca6e5620adde289dca10c247d670cc87c521c641428de
-Size (R/promises_1.0.1.tar.gz) = 106866 bytes
+SHA1 (R/promises_1.2.0.1.tar.gz) = b94c680683b2425b43119d1876005d57696b7f85
+RMD160 (R/promises_1.2.0.1.tar.gz) = b67c3abecaaae2b94f5d1132e6523a2537f60a24
+SHA512 (R/promises_1.2.0.1.tar.gz) = 8de6e45a790475826b1be5a442360b003174c17583d07cf47442b0efbffa2e0932245dbab44e8cc59e75a3e7443b3fc864c2d17babdf3e472bf88c2db5199335
+Size (R/promises_1.2.0.1.tar.gz) = 3120504 bytes



Home | Main Index | Thread Index | Old Index