Skip to content

Commit

Permalink
(parallel/promises) Updated 1.0.1 to 1.2.0.1
Browse files Browse the repository at this point in the history
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)
  • Loading branch information
mef committed Jun 5, 2021
1 parent 02bca27 commit ee1ed9a
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 7 deletions.
11 changes: 9 additions & 2 deletions parallel/R-promises/Makefile
Original file line number Diff line number Diff line change
@@ -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= [email protected]
Expand All @@ -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"
Expand Down
10 changes: 5 additions & 5 deletions parallel/R-promises/distinfo
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit ee1ed9a

Please sign in to comment.