summary refs log tree commit diff
path: root/gnu/packages/cran.scm
diff options
context:
space:
mode:
authorNaga Malleswari <nagamalli@riseup.net>2020-04-24 02:08:12 +0530
committerRicardo Wurmus <rekado@elephly.net>2020-04-24 15:56:54 +0200
commit4ac3461a80338c9596b938b25d6f517af43330f0 (patch)
tree88613c0d448de041e56248f96be846bb6614f0bc /gnu/packages/cran.scm
parent5b38f038f65f78c54e928ff8a6067a426bcc1e42 (diff)
downloadguix-4ac3461a80338c9596b938b25d6f517af43330f0.tar.gz
gnu: Add r-rxnat.
* gnu/packages/cran.scm (r-rxnat): New variable.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
Diffstat (limited to 'gnu/packages/cran.scm')
-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 3ee707ce50..b918a4aa49 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -21377,3 +21377,30 @@ and as convex hull of set of points and rays.  Also does linear programming
 and redundant generator elimination.  All functions can use exact
 infinite-precision rational arithmetic.")
     (license license:gpl2)))
+
+(define-public r-rxnat
+  (package
+    (name "r-rxnat")
+    (version "1.0.8")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "Rxnat" version))
+       (sha256
+        (base32
+         "12xcs2l6vn50bwzfmv60j1qahjw2npfm1a3yjhffcxzh6p8chwbg"))))
+    (properties
+     `((upstream-name . "Rxnat")))
+    (build-system r-build-system)
+    (propagated-inputs
+     `(("r-httr" ,r-httr)
+       ("r-rcurl" ,r-rcurl)))
+    (native-inputs
+     `(("r-knitr" ,r-knitr)))
+    (home-page "https://cran.r-project.org/web/packages/Rxnat/")
+    (synopsis "Queries and extracts images from neuroimaging datasets")
+    (description
+     "This package allows communication with the Extensible Neuroimaging
+Archive Toolkit.  Rxnat uses the XNAT REST API to perform data queries and
+download images.")
+    (license license:gpl2)))