R package providing safe callbacks from background tasks into a running R session