Subject: [bug#42106] [PATCH 4/4] gnu: Add r-sparklyr.

From: Peter Lo <[email-masked]>
Date: Sun, 28 Jun 2020 16:57:45 +0800

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

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 8d72cfdd78..4746b74777 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -22403,3 +22403,53 @@ development, test, production).  Read values using a function that
 determines the current environment and returns the appropriate
 value.")
     (license license:gpl3)))
+
+(define-public r-sparklyr
+  (package
+    (name "r-sparklyr")
+    (version "1.3.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (cran-uri "sparklyr" version))
+        (sha256
+          (base32
+            "15arppq15snihhzk7dwc25ihz7xdn4bxscs5rp4jnfsd643kq0bj"))))
+    (properties `((upstream-name . "sparklyr")))
+    (build-system r-build-system)
+    (propagated-inputs
+      `(("r-assertthat" ,r-assertthat)
+        ("r-base64enc" ,r-base64enc)
+        ("r-config" ,r-config)
+        ("r-dbi" ,r-dbi)
+        ("r-dbplyr" ,r-dbplyr)
+        ("r-digest" ,r-digest)
+        ("r-dplyr" ,r-dplyr)
+        ("r-ellipsis" ,r-ellipsis)
+        ("r-forge" ,r-forge)
+        ("r-generics" ,r-generics)
+        ("r-globals" ,r-globals)
+        ("r-httr" ,r-httr)
+        ("r-jsonlite" ,r-jsonlite)
+        ("r-openssl" ,r-openssl)
+        ("r-purrr" ,r-purrr)
+        ("r-r2d3" ,r-r2d3)
+        ("r-rappdirs" ,r-rappdirs)
+        ("r-rjson" ,r-rjson)
+        ("r-rlang" ,r-rlang)
+        ("r-rprojroot" ,r-rprojroot)
+        ("r-rstudioapi" ,r-rstudioapi)
+        ("r-tibble" ,r-tibble)
+        ("r-tidyr" ,r-tidyr)
+        ("r-uuid" ,r-uuid)
+        ("r-withr" ,r-withr)
+        ("r-xml2" ,r-xml2)))
+    (home-page "https://spark.rstudio.com/")
+    (synopsis "R Interface to Apache Spark")
+    (description
+      "R interface to Apache Spark, a fast and general engine for big
+data processing, see <http://spark.apache.org>.  This package supports
+connecting to local and remote Apache Spark clusters, provides a
+@code{dplyr} compatible back-end, and provides an interface to Spark's
+built-in machine learning algorithms.")
+    (license license:asl2.0)))
-- 
2.17.1