gnu: Add r-coro.

* gnu/packages/cran.scm (r-coro): New variable.
This commit is contained in:
Ricardo Wurmus 2022-02-10 14:04:22 +01:00
parent 4ba7aab965
commit 6f4f04a82d
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -5014,6 +5014,31 @@ (define-public r-ggrepel
from the data points.")
(license license:gpl3)))
(define-public r-coro
(package
(name "r-coro")
(version "1.0.2")
(source
(origin
(method url-fetch)
(uri (cran-uri "coro" version))
(sha256
(base32 "14irld29dipgfd34y0k351daqg9vqpnpdx8m3pxmqr1aiyj5f5cv"))))
(properties `((upstream-name . "coro")))
(build-system r-build-system)
(propagated-inputs (list r-rlang))
(native-inputs (list r-knitr))
(home-page "https://github.com/r-lib/coro")
(synopsis "Coroutines for R")
(description
"This package 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 @code{promises} package. Generators are based on
a dependency free iteration protocol defined in @code{coro} and are compatible
with iterators from the @code{reticulate} package.")
(license license:expat)))
(define-public r-corrplot
(package
(name "r-corrplot")