diff options
author | mef <mef@pkgsrc.org> | 2021-06-05 08:43:54 +0000 |
---|---|---|
committer | mef <mef@pkgsrc.org> | 2021-06-05 08:43:54 +0000 |
commit | 3ca2cec18b135da8f490c4b32e9b1f3f028b0b0d (patch) | |
tree | ba94dce8b0958a32f84fb87038768878afb58a8f /parallel | |
parent | ca716067347edb55adb1583a612f176eb3b6cac2 (diff) | |
download | pkgsrc-3ca2cec18b135da8f490c4b32e9b1f3f028b0b0d.tar.gz |
(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 (limited to 'parallel')
-rw-r--r-- | parallel/R-promises/Makefile | 11 | ||||
-rw-r--r-- | parallel/R-promises/distinfo | 10 |
2 files changed, 14 insertions, 7 deletions
diff --git a/parallel/R-promises/Makefile b/parallel/R-promises/Makefile index c05c2b6c004..3536371570e 100644 --- a/parallel/R-promises/Makefile +++ b/parallel/R-promises/Makefile @@ -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 @@ -12,6 +12,13 @@ DEPENDS+= R-magrittr>=1.5:../../devel/R-magrittr 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 --git a/parallel/R-promises/distinfo b/parallel/R-promises/distinfo index 47209eb78f2..d062f6e5600 100644 --- a/parallel/R-promises/distinfo +++ b/parallel/R-promises/distinfo @@ -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 |