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.2
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-11-28
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? (source)
An informal introduction to async programming (source)
Working with promises in R (source)
Launching tasks with future (source)
Advanced future and promises usage (source, R code)
Using promises with Shiny (source)
Combining promises (source)
Case study: converting a Shiny app to async (source)

Downloads:

Package source: promises_1.3.2.tar.gz
Windows binaries: r-devel: promises_1.3.2.zip, r-release: promises_1.3.2.zip, r-oldrel: promises_1.3.2.zip
macOS binaries: r-release (arm64): promises_1.3.2.tgz, r-oldrel (arm64): promises_1.3.2.tgz, r-release (x86_64): promises_1.3.2.tgz, r-oldrel (x86_64): promises_1.3.2.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.