./sysutils/R-later, Utilities for delaying function execution

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 1.4.1, Package name: R-later-1.4.1, Maintainer: pkgsrc-users

Executes arbitrary R or C functions some time after the current time,
after the R execution stack has emptied.


Required to run:
[math/R] [devel/R-Rcpp] [devel/R-rlang]

Required to build:
[devel/boost-headers] [pkgtools/cwrappers] [devel/R-BH]

Master sites: (Expand)


Version history: (Expand)


CVS history: (Expand)


   2024-12-07 06:59:14 by Makoto Fujiwara | Files touched by this commit (2) | Package updated
Log message:
(sysutils/R-later) Updated 1.3.2 to 1.4.1

# later 1.4.1
* Fixed #203: Resolves an issue where packages that have `LinkingTo:
  later` (including `promises` and `httpuv`) and were built against
  `later` 1.4.0, would fail to load on systems that actually had older
  versions of `later` installed, erroring out with the message
  "function 'execLaterFdNative' not provided by package 'later'". With
  this fix, such dependent packages should gracefully deal with older
  versions at load time, and complain with helpful error messages if
  newer C interfaces (than are available on the installed `later`) are
  accessed. (#204)

# later 1.4.0

* Adds `later_fd()` which executes a function when a file descriptor
  is ready for reading or writing, at some indeterminate time in the
  future (subject to an optional timeout). This facilitates an
  event-driven approach to asynchronous or streaming
  downloads. (@shikokuchuo and @jcheng5, #190)

* Fixed #186: Improvements to package load time as `rlang` is now only
  loaded when used. This is a notable efficiency for packages with
  only a 'linking to' dependency on `later`. Also updates to native
  symbol registration from dynamic lookup. (@shikokuchuo and @wch,
  #187)

* Fixed #191: Errors raised in later callbacks were being re-thrown as
  generic C++ std::runtime_error with Rcpp >= 1.0.10 (since
  2022!). (@shikokuchuo and @lionel-, #192)
   2024-01-20 02:46:16 by Makoto Fujiwara | Files touched by this commit (2)
Log message:
(sysutils/R-later) Updated 1.3.0 to 1.3.2

# later 1.3.2

* Fixed `unused variable` compiler warning. (@MichaelChirico, #176)

* Fixed #177: The order of includes in `later.h` could cause compilation
   errors on some platforms. (@jeroen, #178)

* Closed #181: Fix R CMD check warning re error() format strings (for r-devel). \ 
(#133)

# later 1.3.1

* For C function declarations that take no parameters, added `void` parameter. (#172)
   2022-08-06 19:24:46 by Havard Eidnes | Files touched by this commit (2)
Log message:
sysutils/R-later: convert to using mk/atomic64.mk.
   2022-06-22 16:04:50 by Havard Eidnes | Files touched by this commit (1)
Log message:
sysiutils/R-later: needs -latomic on NetBSD/powerpc to build.
   2021-10-26 13:20:30 by Nia Alarie | Files touched by this commit (630)
Log message:
sysutils: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes
   2021-10-07 16:58:44 by Nia Alarie | Files touched by this commit (630)
Log message:
sysutils: Remove SHA1 hashes for distfiles
   2021-06-05 10:37:14 by Makoto Fujiwara | Files touched by this commit (2)
Log message:
(sysutils/R-later) Updated 1.0.0 to 1.2.0

## later 1.2.0

* Closed #138: later is now licensed as MIT. (#139)

* Closed #140: Previously, the event loop stopped running if the R
  process was forked. (#141)

* Closed #143: Packages which link to later no longer need to take a
  direct dependency on Rcpp, because `later.h` no longer includes
  `Rcpp.h`. (#144)

* Removed dependency on the BH package. C++11 is now required. (#147)

## later 1.1.0.1

* Private event loops are now automatically run by their parent. That
  is, whenever an event loop is run, its children event loops are
  automatically run. The `create_loop()` function has a new parameter
  `parent`, which defaults to the current loop. The auto-running
  behavior can be disabled by using `create_loop(parent=NULL)`. (#119)

* Fixed #73, #109: Previously, later did not build on some platforms,
  notably ARM, because the `-latomic` linker was needed on those
  platforms. A configure script now detects when `-latomic` is
  needed. (#114)

* Previously, `execLaterNative` was initialized when the package was
  loaded, but not `execLaterNative2`, resulting in a warning message
  in some cases. (#116)
   2019-12-31 13:08:15 by Makoto Fujiwara | Files touched by this commit (2)
Log message:
(sysutils/R-later) Updated to 1.0.0

## later 1.0.0

* Added private event loops: these are event loops that can be run
  independently from the global event loop. These are useful when you
  have code that schedules callbacks with `later()`, and you want to
  call `run_now()` block and wait for those callbacks to execute
  before continuing. Without private event loops, if you call
  `run_now()` to wait until a particular callback has finished, you
  might inadvertantly run other callbacks that were scheduled by other
  code. With private event loops, you can create a private loop,
  schedule a callback on it, then call `run_now()` on that loop until
  it executes, all without interfering with the global
  loop. ([#84](https://github.com/r-lib/later/pull/84))