[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/05: gnu: Add r-coro.

From: guix-commits
Subject: 01/05: gnu: Add r-coro.
Date: Fri, 11 Feb 2022 09:50:50 -0500 (EST)

rekado pushed a commit to branch master
in repository guix.

commit 6f4f04a82df20e9941d777dbed7bfe0a78b68e63
Author: Ricardo Wurmus <>
AuthorDate: Thu Feb 10 14:04:22 2022 +0100

    gnu: Add r-coro.
    * gnu/packages/cran.scm (r-coro): New variable.
 gnu/packages/cran.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 6338cb7853..8d4cb1c7b2 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -5014,6 +5014,31 @@ avoid overlapping text labels.  Labels repel away from 
each other and away
 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 "";)
+    (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
     (name "r-corrplot")

reply via email to

[Prev in Thread] Current Thread [Next in Thread]