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.3 |
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: | 2022-07-19 |
Author: | Lionel Henry [aut, cre], RStudio [cph, fnd] |
Maintainer: | Lionel Henry <lionel at rstudio.com> |
BugReports: | https://github.com/r-lib/coro/issues |
License: | MIT + file LICENSE |
URL: | https://github.com/r-lib/coro |
NeedsCompilation: | no |
Materials: | README NEWS |
CRAN checks: | coro results |
Reference manual: | coro.pdf |
Vignettes: |
Generators |
Package source: | coro_1.0.3.tar.gz |
Windows binaries: | r-devel: coro_1.0.3.zip, r-release: coro_1.0.3.zip, r-oldrel: coro_1.0.3.zip |
macOS binaries: | r-release (arm64): coro_1.0.3.tgz, r-oldrel (arm64): coro_1.0.3.tgz, r-release (x86_64): coro_1.0.3.tgz, r-oldrel (x86_64): coro_1.0.3.tgz |
Old sources: | coro archive |
Reverse imports: | brulee, cito, luz, SPQR, tabnet, torch, trampoline |
Reverse suggests: | plumber, torchdatasets, torchvision |
Please use the canonical form https://CRAN.R-project.org/package=coro to link to this page.