Binary files /tmp/tmpvtad5l7j/eZr2BGyHDy/r-cran-later-1.3.0+dfsg/build/vignette.rds and /tmp/tmpvtad5l7j/K4FwIdticq/r-cran-later-1.3.1+dfsg/build/vignette.rds differ diff -Nru r-cran-later-1.3.0+dfsg/debian/changelog r-cran-later-1.3.1+dfsg/debian/changelog --- r-cran-later-1.3.0+dfsg/debian/changelog 2021-09-21 04:40:35.000000000 +0000 +++ r-cran-later-1.3.1+dfsg/debian/changelog 2023-06-23 13:16:15.000000000 +0000 @@ -1,3 +1,11 @@ +r-cran-later (1.3.1+dfsg-1) unstable; urgency=medium + + * New upstream version + * Standards-Version: 4.6.2 (routine-update) + * dh-update-R to update Build-Depends (routine-update) + + -- Andreas Tille Fri, 23 Jun 2023 15:16:15 +0200 + r-cran-later (1.3.0+dfsg-1) unstable; urgency=medium * New upstream version diff -Nru r-cran-later-1.3.0+dfsg/debian/control r-cran-later-1.3.1+dfsg/debian/control --- r-cran-later-1.3.0+dfsg/debian/control 2021-09-21 04:40:35.000000000 +0000 +++ r-cran-later-1.3.1+dfsg/debian/control 2023-06-23 13:16:15.000000000 +0000 @@ -7,10 +7,10 @@ Build-Depends: debhelper-compat (= 13), dh-r, r-base-dev, - r-cran-rcpp (>= 0.12.9), + r-cran-rcpp, r-cran-rlang, libboost-dev -Standards-Version: 4.6.0 +Standards-Version: 4.6.2 Vcs-Browser: https://salsa.debian.org/r-pkg-team/r-cran-later Vcs-Git: https://salsa.debian.org/r-pkg-team/r-cran-later.git Homepage: https://cran.r-project.org/package=later diff -Nru r-cran-later-1.3.0+dfsg/DESCRIPTION r-cran-later-1.3.1+dfsg/DESCRIPTION --- r-cran-later-1.3.0+dfsg/DESCRIPTION 2021-08-18 16:30:06.000000000 +0000 +++ r-cran-later-1.3.1+dfsg/DESCRIPTION 2023-05-02 18:10:02.000000000 +0000 @@ -2,7 +2,7 @@ Type: Package Title: Utilities for Scheduling Functions to Execute Later with Event Loops -Version: 1.3.0 +Version: 1.3.1 Authors@R: c( person("Winston", "Chang", role = c("aut", "cre"), email = "winston@rstudio.com"), person("Joe", "Cheng", role = c("aut"), email = "joe@rstudio.com"), @@ -13,18 +13,17 @@ Description: Executes arbitrary R or C functions some time after the current time, after the R execution stack has emptied. The functions are scheduled in an event loop. -URL: https://github.com/r-lib/later +URL: https://r-lib.github.io/later/, https://github.com/r-lib/later BugReports: https://github.com/r-lib/later/issues License: MIT + file LICENSE Imports: Rcpp (>= 0.12.9), rlang LinkingTo: Rcpp -RoxygenNote: 7.1.1 -SystemRequirements: C++11 +RoxygenNote: 7.2.3 Suggests: knitr, rmarkdown, testthat (>= 2.1.0) VignetteBuilder: knitr Encoding: UTF-8 NeedsCompilation: yes -Packaged: 2021-08-18 14:03:28 UTC; barret +Packaged: 2023-05-01 21:09:55 UTC; winston Author: Winston Chang [aut, cre], Joe Cheng [aut], RStudio [cph], @@ -34,4 +33,4 @@ https://tinycthread.github.io/) Maintainer: Winston Chang Repository: CRAN -Date/Publication: 2021-08-18 16:30:06 UTC +Date/Publication: 2023-05-02 18:10:02 UTC diff -Nru r-cran-later-1.3.0+dfsg/MD5 r-cran-later-1.3.1+dfsg/MD5 --- r-cran-later-1.3.0+dfsg/MD5 2021-08-18 16:30:06.000000000 +0000 +++ r-cran-later-1.3.1+dfsg/MD5 2023-05-02 18:10:02.000000000 +0000 @@ -1,18 +1,18 @@ -f12200f33b13b85eaa73915cc68377ed *DESCRIPTION +9511d0cc05852ef5f2e18e716af3331b *DESCRIPTION 1ea92efbfee0a5419e05c8bffb4d02d7 *LICENSE 0cc41b0056bcd20eabacbf9459223b54 *LICENSE.note 9b44c74bf9bd7267cf31f8bd44cdc933 *NAMESPACE -bf91ba36d4933788db321d94bccf77de *NEWS.md +53dca9e617d279a4b194187c3d8bc6af *NEWS.md 0fa4fa3ec1e07bdf2fc2e4b244f3f3da *R/RcppExports.R ed3c7ae2148e29b8839502954bf559b0 *R/debug.R fc698c01f5602d68b4d1be2ddc4fcecb *R/later.R -61db794e43661d5a11f248094f543b70 *README.md -496c3f00f9a8c4b5f51ce2df91a38e34 *build/vignette.rds +a7b4e425a969d98d207662989c0300d9 *README.md +045e636649a61c5564ba6b6d9a1a724b *build/vignette.rds 6071edd604dbeb75308cfbedc7790398 *cleanup 793c150da12198c9c0a2c8e5811e721d *configure c37ad0d619d6d8eceb3fd7628b145b68 *inst/bgtest.cpp 88133661f44a9f8a51e06a1d8b044372 *inst/doc/later-cpp.Rmd -897d314bcfd449a01d0693a0be5fd218 *inst/doc/later-cpp.html +72baffe6c36fd33b7f25be7544d418f2 *inst/doc/later-cpp.html bf0655e9a630d3f3fc4beaa9b30e454e *inst/include/later.h 9a4fb9c64c2be8f09b461fc8cb63b25b *inst/include/later_api.h f6132a7bbcc21d7a05298c7bad6a46ca *man/create_loop.Rd @@ -22,16 +22,16 @@ 59c1460cee99ddb482be8282b8dbe77e *man/loop_empty.Rd ec0cae09be3f35707cc4fc3ca48bf549 *man/next_op_secs.Rd 9a4ca52d98ce2ff6e811c6ab368e00ba *man/run_now.Rd -9dbb6a73ce7e9097f83888b09946dcd8 *src/Makevars.in -c8e20603005445497b9630c706155981 *src/Makevars.win +a1f738616e1475e478ebf45122e80203 *src/Makevars.in +895d62f8c7ec33015b921fbdaf10cc6d *src/Makevars.win df230a1f08a7f364e490adcff5eab03c *src/RcppExports.cpp 231720fa3615e4cd3bc50faf2a486628 *src/badthreads.h -e8f9a5c0e9e133af1535a0cec1518123 *src/callback_registry.cpp +d38d1046855070dc43dab9407feec09c *src/callback_registry.cpp 1b9436e681ac616bb696f63b6e98d043 *src/callback_registry.h c103f87b9273d795462956a63e361655 *src/callback_registry_table.h 8465cb8bd54cb837c237ddcae881368b *src/debug.cpp 85df09c6674a89ced0a381d0f7db2f6e *src/debug.h -3d7e4b74b9edff227b63373501c4ae36 *src/init.c +14c7cb98aebf73a657e4795c590ad194 *src/init.c 56792fc6e11c596d958add3d2ce86743 *src/interrupt.h 972e2622ccc67bd43964675cdcbdd860 *src/later.cpp 28ad43027f7342ad53e46285979d63ad *src/later.h diff -Nru r-cran-later-1.3.0+dfsg/NEWS.md r-cran-later-1.3.1+dfsg/NEWS.md --- r-cran-later-1.3.0+dfsg/NEWS.md 2021-08-17 20:10:02.000000000 +0000 +++ r-cran-later-1.3.1+dfsg/NEWS.md 2023-05-01 15:41:14.000000000 +0000 @@ -1,10 +1,14 @@ +# later 1.3.1 + +* For C function declarations that take no parameters, added `void` parameter. (#172) + # later 1.3.0 * Closed #148: When later was attached, `parallel::makeForkCluster()` would fail. (#149) * Fixed #150: It was possible for callbacks to execute in the wrong order if the clock time was changed in between the scheduling of two callbacks. (#151) -## later 1.2.0 +# later 1.2.0 * Closed #138: later is now licensed as MIT. (#139) @@ -14,7 +18,7 @@ * Removed dependency on the BH package. C++11 is now required. (#147) -## later 1.1.0.1 +# 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) @@ -22,11 +26,11 @@ * Previously, `execLaterNative` was initialized when the package was loaded, but not `execLaterNative2`, resulting in a warning message in some cases. (#116) -## later 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) -## later 0.8.0 +# later 0.8.0 * Fixed issue #77: On some platforms, the system's C library has support for C11-style threads, but there is no `threads.h` header file. In this case, later's configure script tried to use the tinycthread, but upon linking, there were function name conflicts between tinycthread and the system's C library. Later no longer tries to use the system's `threads.h`, and the functions in tinycthread were renamed so that they do not accidentally link to the system C library's C11-style thread functions. PR #79 @@ -36,31 +40,31 @@ * Fixed issue #73: Linking later on ARM failed because `boost::atomic` requires the `-lboost_atomic` flag. Now later tries to use `std::atomic` when available (when the compiler supports C++11), and falls back to `boost::atomic` if not. PR #80 -## later 0.7.5 +# later 0.7.5 * Fixed issue where the order of callbacks scheduled by native later::later could be nondeterministic if they are scheduled too quickly. This was because callbacks were sorted by the time at which they come due, which could be identical. Later now uses the order of insertion as a tiebreaker. PR #69 -## later 0.7.4 +# later 0.7.4 * Fixed issue #45 and #63: glibc 2.28 and musl (used on Arch and Alpine Linux) added support for C11-style threads.h, which masked functions from the tinycthread library used by later. Later now detects support for threads.h and uses it if available; otherwise it uses tinycthread. PR #64 -## later 0.7.3 +# later 0.7.3 * Fixed issue #57: If a user interrupt occurred when later (internally) called `sys.nframe()`, the R process would crash. PR #58 -## later 0.7.2 +# later 0.7.2 * Fixed issue #48: Occasional timedwait errors from later::run_now. Thanks, @vnijs! PR #49 * Fixed a build warning on OS X 10.11 and earlier. PR #54 -## later 0.7.1 +# later 0.7.1 * Fixed issue #39: Calling the C++ function `later::later()` from a different thread could cause an R GC event to occur on that thread, leading to memory corruption. PR #40 * Decrease latency of repeated top-level execution. -## later 0.7 (unreleased) +# later 0.7 (unreleased) * Fixed issue #22: GC events could cause an error message: `Error: unimplemented type 'integer' in 'coerceToInteger'`. PR #23 @@ -70,7 +74,7 @@ * Fixed issue #36: Failure to build on OS X <=10.12 (thanks @mingwandroid). PR #21 -## later 0.6 +# later 0.6 * Fix a hang on address sanitized (ASAN) builds of R. Issue #16, PR #17 @@ -80,7 +84,7 @@ * Fix compilation errors on Solaris. Reported by Brian Ripley. PR #20 -## later 0.5 +# later 0.5 * Fix a hang on Fedora 25+ which prevented the package from being installed successfully. Reported by @lepennec. Issue #7, PR #10 @@ -88,7 +92,7 @@ * Added `next_op_secs()` function to report the number of seconds before the next scheduled operation. PR #15 -## later 0.4 +# later 0.4 * Add `loop_empty()` function, which returns `TRUE` if there are currently no callbacks that are scheduled to execute in the present or future. @@ -97,6 +101,6 @@ * On all platforms, don't invoke callbacks if callbacks are already being invoked (unless explicitly requested by a caller to `run_now()`). -## later 0.3 +# later 0.3 Initial release. diff -Nru r-cran-later-1.3.0+dfsg/README.md r-cran-later-1.3.1+dfsg/README.md --- r-cran-later-1.3.0+dfsg/README.md 2021-08-17 20:05:54.000000000 +0000 +++ r-cran-later-1.3.1+dfsg/README.md 2023-05-01 15:41:08.000000000 +0000 @@ -1,7 +1,7 @@ # later -[![R build status](https://github.com/r-lib/later/workflows/R-CMD-check/badge.svg)](https://github.com/r-lib/later/actions) +[![R build status](https://github.com/r-lib/later/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/r-lib/later/actions) diff -Nru r-cran-later-1.3.0+dfsg/src/callback_registry.cpp r-cran-later-1.3.1+dfsg/src/callback_registry.cpp --- r-cran-later-1.3.0+dfsg/src/callback_registry.cpp 2021-08-17 20:05:55.000000000 +0000 +++ r-cran-later-1.3.1+dfsg/src/callback_registry.cpp 2023-05-01 15:41:08.000000000 +0000 @@ -338,8 +338,8 @@ bool CallbackRegistry::due(const Timestamp& time, bool recursive) const { ASSERT_MAIN_THREAD() Guard guard(mutex); - cbSet::const_iterator it = queue.begin(); - if (!this->queue.empty() && !((*it)->when > time)) { + cbSet::const_iterator cbSet_it = queue.begin(); + if (!this->queue.empty() && !((*cbSet_it)->when > time)) { return true; } diff -Nru r-cran-later-1.3.0+dfsg/src/init.c r-cran-later-1.3.1+dfsg/src/init.c --- r-cran-later-1.3.0+dfsg/src/init.c 2021-08-17 20:05:55.000000000 +0000 +++ r-cran-later-1.3.1+dfsg/src/init.c 2023-05-01 15:41:08.000000000 +0000 @@ -9,22 +9,22 @@ */ /* .Call calls */ -extern SEXP _later_ensureInitialized(); +extern SEXP _later_ensureInitialized(void); extern SEXP _later_execCallbacks(SEXP, SEXP, SEXP); extern SEXP _later_idle(SEXP); extern SEXP _later_execLater(SEXP, SEXP, SEXP); extern SEXP _later_cancel(SEXP, SEXP); extern SEXP _later_nextOpSecs(SEXP); -extern SEXP _later_testCallbackOrdering(); +extern SEXP _later_testCallbackOrdering(void); extern SEXP _later_createCallbackRegistry(SEXP, SEXP); extern SEXP _later_deleteCallbackRegistry(SEXP); extern SEXP _later_existsCallbackRegistry(SEXP); extern SEXP _later_notifyRRefDeleted(SEXP); extern SEXP _later_setCurrentRegistryId(SEXP); -extern SEXP _later_getCurrentRegistryId(); +extern SEXP _later_getCurrentRegistryId(void); extern SEXP _later_list_queue_(SEXP); extern SEXP _later_log_level(SEXP); -extern SEXP _later_using_ubsan(); +extern SEXP _later_using_ubsan(void); static const R_CallMethodDef CallEntries[] = { {"_later_ensureInitialized", (DL_FUNC) &_later_ensureInitialized, 0}, @@ -48,7 +48,7 @@ uint64_t execLaterNative(void (*func)(void*), void* data, double secs); uint64_t execLaterNative2(void (*func)(void*), void* data, double secs, int loop); -int apiVersion(); +int apiVersion(void); void R_init_later(DllInfo *dll) { diff -Nru r-cran-later-1.3.0+dfsg/src/Makevars.in r-cran-later-1.3.1+dfsg/src/Makevars.in --- r-cran-later-1.3.0+dfsg/src/Makevars.in 2021-08-17 20:05:55.000000000 +0000 +++ r-cran-later-1.3.1+dfsg/src/Makevars.in 2023-05-01 21:09:35.000000000 +0000 @@ -1,6 +1,3 @@ -# Use C++11 if available -CXX_STD=CXX11 - PKG_CPPFLAGS = -pthread -DSTRICT_R_HEADERS @pkg_cppflags@ PKG_LIBS = -pthread @extra_pkg_libs@ diff -Nru r-cran-later-1.3.0+dfsg/src/Makevars.win r-cran-later-1.3.1+dfsg/src/Makevars.win --- r-cran-later-1.3.0+dfsg/src/Makevars.win 2019-09-25 18:44:44.000000000 +0000 +++ r-cran-later-1.3.1+dfsg/src/Makevars.win 2023-05-01 21:09:35.000000000 +0000 @@ -1,6 +1,3 @@ -# Use C++11 if available -CXX_STD=CXX11 - PKG_CPPFLAGS = -DSTRICT_R_HEADERS #### Debugging flags ####