Subject: [bug#40763] New package: r-rserve

From: Eric Brown <[email-masked]>
Date: Wed, 22 Apr 2020 06:11:05 -0500

Dear Guix,

Please see attached diff for Rserve.

Best regards,
Eric

>From 41e88e84a22483cb5c1f481b66b51379a1db233b Mon Sep 17 00:00:00 2001
From: Eric Brown <[email-masked]>
Date: Wed, 22 Apr 2020 06:04:59 -0500
Subject: [PATCH] gnu: Add r-rserve.

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

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 70cb7cc700..e92a165607 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -21162,3 +21162,40 @@ evaluated interactively.")
 Bayes factors, posterior model probabilities, and normalizing constants in
 general, via different versions of bridge sampling.")
     (license license:gpl2+)))
+
+(define-public r-rserve
+  (package
+    (name "r-rserve")
+    (version "1.8-6")
+    (source
+     (origin
+       (method url-fetch)
+       (uri "http://www.rforge.net/Rserve/snapshot/Rserve_1.8-6.tar.gz")
+       (sha256
+        (base32
+         "1imz78wa9rphz9ly1wbz4ahdlzcc9hcfbfgdd2pbnpmipbrpg233"))))
+    (propagated-inputs
+     `(("r" ,r)
+       ("r-checkmate" ,r-checkmate)
+       ("r-mime" ,r-mime)
+       ("r-jsonlite" ,r-jsonlite)
+       ("r-knitr" ,r-knitr)
+       ("r-r6" ,r-r6)
+       ("r-rcpp" ,r-rcpp)
+       ("r-uuid" ,r-uuid)))
+    (inputs `(("openssl" ,openssl)
+              ("zlib" ,zlib)))
+    (build-system r-build-system)
+    (home-page "https://github.com/s-u/Rserve")
+    (synopsis
+     "Server providing access to R from many languages and systems")
+    (description
+     "Rserve acts as a socket server (TCP/IP or local sockets) which
+allows binary requests to be sent to R. Every connection has a
+separate workspace and working directory. Client-side implementations
+are available for popular languages such as C/C++ and Java, allowing
+any application to use facilities of R without the need of linking to
+R code. Rserve supports remote connection, user authentication and
+file transfer. A simple R client is included in this package as
+well.")
+    (license license:gpl2)))
-- 
2.26.2