coro: 'Coroutines' for R

Provides 'coroutines' for R, a family of functions that can be suspended and resumed later on. This includes 'async' functions (which await) and generators (which yield). 'Async' functions are based on the concurrency framework of the 'promises' package. Generators are based on a dependency free iteration protocol defined in 'coro' and are compatible with iterators from the 'reticulate' package.

Version: 1.0.4
Depends: R (≥ 3.5.0)
Imports: rlang (≥ 0.4.12)
Suggests: knitr, later (≥ 1.1.0), magrittr (≥ 2.0.0), promises, reticulate, rmarkdown, testthat (≥ 3.0.0)
Published: 2024-03-11
DOI: 10.32614/CRAN.package.coro
Author: Lionel Henry [aut, cre], Posit Software, PBC [cph, fnd]
Maintainer: Lionel Henry <lionel at>
License: MIT + file LICENSE
NeedsCompilation: no
Materials: README NEWS
CRAN checks: coro results


Reference manual: coro.pdf
Vignettes: Generators


Package source: coro_1.0.4.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): coro_1.0.4.tgz, r-oldrel (arm64): coro_1.0.4.tgz, r-release (x86_64): coro_1.0.4.tgz, r-oldrel (x86_64): coro_1.0.4.tgz
Old sources: coro archive

Reverse dependencies:

Reverse imports: brulee, cito, luz, scDHA, SCFA, selenider, tabnet, torch, trampoline
Reverse suggests: familiar, openalexR, plumber, torchdatasets, torchvision


Please use the canonical form to link to this page.