unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: kyle <kyle@posteo.net>
To: 62579@debbugs.gnu.org
Cc: rekado@elephly.net, Kyle Andrews <kyle@posteo.net>
Subject: [bug#62579] [PATCH 2/3] gnu: Add r-future-callr
Date: Sat, 01 Apr 2023 04:57:01 +0000	[thread overview]
Message-ID: <1493a333b0fb7ac47df2c273a47f3d77195145dc.1680324055.git.kyle@posteo.net> (raw)
In-Reply-To: <cover.1680324055.git.kyle@posteo.net>

From: Kyle Andrews <kyle@posteo.net>

---
 gnu/packages/cran.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 3e8ec429e1..d2036b0629 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -19309,6 +19309,37 @@ (define-public r-future-apply
 machine or distributed on a compute cluster.")
     (license license:gpl2+)))
 
+(define-public r-future-callr
+  (package
+    (name "r-future-callr")
+    (version "0.8.1")
+    (source (origin
+              (method url-fetch)
+              (uri (cran-uri "future.callr" version))
+              (sha256
+               (base32
+		"1w7wq2nrvj65a25nsb5h99258p9565qwnlvcc07nyc21gm5zrg9k"))))
+    (properties `((upstream-name . "future.callr")))
+    (build-system r-build-system)
+    (arguments
+     (list
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-after 'unpack 'set-HOME
+            (lambda _ (setenv "HOME" "/tmp"))))))
+    (propagated-inputs (list r-callr r-future))
+    (native-inputs (list r-r-rsp))
+    (home-page "https://future.callr.futureverse.org")
+    (synopsis "Future API for Parallel Processing using 'callr'")
+    (description
+     "Implementation of the Future API on top of the callr package.  This allows you
+to process futures, as defined by the future package, in parallel out of the
+box, on your local (Linux, macOS, Windows, ...) machine.  Contrary to backends
+relying on the parallel package (e.g. future::multisession') and socket
+connections, the callr backend provided here can run more than 125 parallel R
+processes.")
+    (license license:lgpl2.1+)))
+
 (define-public r-rsvd
   (package
     (name "r-rsvd")
-- 
2.39.2





  parent reply	other threads:[~2023-04-01  4:58 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-01  4:48 [bug#62579] [PATCH 0/3] *** Package targets and tarchetypes *** kyle
2023-04-01  4:57 ` [bug#62579] [PATCH 1/3] gnu: Add r-targets package kyle
2023-04-04 17:46   ` bug#62579: " Ricardo Wurmus
2023-04-01  4:57 ` kyle [this message]
2023-04-01  4:57 ` [bug#62579] [PATCH 3/3] gnu: Add r-tarchetypes kyle

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1493a333b0fb7ac47df2c273a47f3d77195145dc.1680324055.git.kyle@posteo.net \
    --to=kyle@posteo.net \
    --cc=62579@debbugs.gnu.org \
    --cc=rekado@elephly.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).