Subject: [bug#39416] [PATCH 07/34] gnu: Add package r-spacyr

From: Lars-Dominik Braun <[email-masked]>
Date: Tue, 4 Feb 2020 14:55:59 +0100

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

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 4330ebf3d3..819aed90e4 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -19417,3 +19417,26 @@ area codes.")
       "This package provides multiple sources of stopwords, for use in text
 analysis and natural language processing.")
     (license license:expat)))
+
+(define-public r-spacyr
+  (package
+    (name "r-spacyr")
+    (version "1.2")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (cran-uri "spacyr" version))
+        (sha256
+          (base32
+            "1xsiz6zx89vs6ykrkkp011d8fz4ksdgnf5nyaq5ynjr6zv865vks"))))
+    (properties `((upstream-name . "spacyr")))
+    (build-system r-build-system)
+    (propagated-inputs
+      `(("r-data-table" ,r-data-table)
+        ("r-reticulate" ,r-reticulate)))
+    (home-page "https://spacyr.quanteda.io")
+    (synopsis "Wrapper to the 'spaCy' NLP Library")
+    (description
+      "An R wrapper to the Python @code{spaCy} NLP library, from
+<http://spacy.io>.")
+    (license license:gpl3)))
-- 
2.20.1