summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2021-02-04 16:34:57 +0100
committerRicardo Wurmus <rekado@elephly.net>2021-02-04 16:34:57 +0100
commitf9c0ce7179dd13879d2d868b5c4f047aa4e251c5 (patch)
tree9092b7b7f5a2f1e3f1ec6928ce66ec56806be0e8 /gnu
parent5aaf67fc1f2c9eca1ef36746dd57721f2e0abd5f (diff)
downloadguix-f9c0ce7179dd13879d2d868b5c4f047aa4e251c5.tar.gz
gnu: Add r-rentrez.
* gnu/packages/cran.scm (r-rentrez): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/cran.scm27
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index b229e0e318..00c870aec0 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -6568,6 +6568,33 @@ user's computer should be used to save data, caches and logs.  It is a port of
 Python's @url{https://github.com/ActiveState/appdirs,Appdirs} to R.")
     (license license:expat)))
 
+(define-public r-rentrez
+  (package
+    (name "r-rentrez")
+    (version "1.2.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "rentrez" version))
+       (sha256
+        (base32
+         "0x1g2f6hvkqqlb39z8m5qxhcvsizddic5i7rpqw0wy77xfbna9gv"))))
+    (properties `((upstream-name . "rentrez")))
+    (build-system r-build-system)
+    (propagated-inputs
+     `(("r-httr" ,r-httr)
+       ("r-jsonlite" ,r-jsonlite)
+       ("r-xml" ,r-xml)))
+    (native-inputs
+     `(("r-knitr" ,r-knitr)))
+    (home-page "https://docs.ropensci.org/rentrez/")
+    (synopsis "Entrez in R")
+    (description
+     "This package provides an R interface to the NCBI's EUtils API,
+allowing users to search databases like GenBank PubMed, process the results of
+those searches and pull data into their R sessions.")
+    (license license:expat)))
+
 (define-public r-renv
   (package
     (name "r-renv")