On 4/27/25 22:19, Duncan Murdoch wrote:
BTW, the help for setTimeLimit() says that the time limit check
happens frequently during `Sys.sleep()`, but that doesn't appear to be
true. I've tried a variation on the code above which sleeps for 20
seconds, even with a time limit of 1 second.
Re
This StackOverflow question: https://stackoverflow.com/q/79594532 and
this discussion on Github: https://github.com/r-lib/evaluate/issues/242
are talking about an interesting situation.
Under a fairly simple setup shown in both, setTimeLimit() can interrupt
the on.exit() handler that was ins