CRAN/E | promises

promises

Abstractions for Promise-Based Asynchronous Programming

Installation

About

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.

rstudio.github.io/promises/
github.com/rstudio/promises
Bug report File report

Key Metrics

Version 1.3.0
Published 2024-04-05 18 days ago
Needs compilation? yes
License MIT
License File
CRAN checks promises results
Language en-US

Downloads

Yesterday 22.721 +83%
Last 7 days 139.459 -4%
Last 30 days 480.797 +21%
Last 90 days 1.287.498 +2%
Last 365 days 5.093.701 -4%

Maintainer

Maintainer

Joe Cheng

joe@posit.co

Authors

Joe Cheng

aut / cre

Posit Software
PBC

cph / fnd

Material

README
NEWS
Reference manual
Package source

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

macOS

r-release

arm64

r-oldrel

arm64

r-release

x86_64

Windows

r-devel

x86_64

r-release

x86_64

r-oldrel

x86_64

Old Sources

promises archive

Imports

fastmap ≥ 1.1.0
later
magrittr ≥ 1.5
R6
Rcpp
rlang
stats

Suggests

future ≥ 1.21.0
knitr
purrr
rmarkdown
spelling
testthat
vembedr

LinkingTo

later
Rcpp

Reverse Imports

async
chromote
crew
DT
gwavr
httpuv
learnr
mirai.promises
netShiny
plotly
plumber
plumbertableau
Prostar
shiny
shinydashboard
shinyTree
TKCat
TreeSearch
webdeveloper
webshot2

Reverse Suggests

condformat
coro
dipsaus
googlePubsubR
GSVA
ipc
pagedown
telegram.bot

Reverse Enhances

mirai