promises: Abstractions for Promise-Based Asynchronous Programming

Provides fundamental abstractions for doing asynchronous programming in R using promises. Asynchronous programming is useful for allowing a single R process to orchestrate multiple tasks in the background while also attending to something else. Semantics are similar to 'JavaScript' promises, but with a syntax that is idiomatic R.

Version: 1.3.0
Imports: fastmap (≥ 1.1.0), later, magrittr (≥ 1.5), R6, Rcpp, rlang, stats
LinkingTo: later, Rcpp
Suggests: future (≥ 1.21.0), knitr, purrr, rmarkdown, spelling, testthat, vembedr
Published: 2024-04-05
DOI: 10.32614/CRAN.package.promises
Author: Joe Cheng [aut, cre], Posit Software, PBC [cph, fnd]
Maintainer: Joe Cheng <joe at posit.co>
BugReports: https://github.com/rstudio/promises/issues
License: MIT + file LICENSE
URL: https://rstudio.github.io/promises/, https://github.com/rstudio/promises
NeedsCompilation: yes
Language: en-US
Materials: README NEWS
CRAN checks: promises results

Documentation:

Reference manual: promises.pdf
Vignettes: Why use promises?
An informal introduction to async programming
Working with promises in R
Launching tasks with future
Advanced future and promises usage
Using promises with Shiny
Combining promises
Case study: converting a Shiny app to async

Downloads:

Package source: promises_1.3.0.tar.gz
Windows binaries: r-devel: promises_1.3.0.zip, r-release: promises_1.3.0.zip, r-oldrel: promises_1.3.0.zip
macOS binaries: r-release (arm64): promises_1.3.0.tgz, r-oldrel (arm64): promises_1.3.0.tgz, r-release (x86_64): promises_1.3.0.tgz, r-oldrel (x86_64): promises_1.3.0.tgz
Old sources: promises archive

Reverse dependencies:

Reverse imports: chromote, crew, DT, gwavr, httpuv, lavaangui, learnr, netShiny, plotly, plumber, plumbertableau, Prostar, shiny, shinydashboard, shinyTree, tapLock, TKCat, TreeSearch, webdeveloper, webshot2
Reverse suggests: condformat, coro, dipsaus, googlePubsubR, GSVA, httr2, ipc, pagedown, telegram.bot
Reverse enhances: mirai, nanonext

Linking:

Please use the canonical form https://CRAN.R-project.org/package=promises to link to this page.