summary refs log tree commit diff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2021-08-26 10:54:10 +0200
committerRicardo Wurmus <rekado@elephly.net>2021-08-26 11:25:20 +0200
commitf4cb9563a3ff0fb3341f3c4fa424c46ef464c3d1 (patch)
tree7b37d537b8e6cac52d39b53b2c4d8df55705ea06
parente5f360aa97a39d1f3068f6aeef369b2e67c879fd (diff)
downloadguix-f4cb9563a3ff0fb3341f3c4fa424c46ef464c3d1.tar.gz
gnu: Add r-ztree.
* gnu/packages/cran.scm (r-ztree): New variable.
-rw-r--r--gnu/packages/cran.scm23
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 5a9889f11e..a3b98ea8cc 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -30374,3 +30374,26 @@ file conversion API.  The wrappers makes it easy to utilize the API and thus
 convert between more than 100 different file formats (ranging from audio
 files, images, movie formats, etc., etc.) through an R session.")
     (license license:gpl3)))
+
+(define-public r-ztree
+  (package
+    (name "r-ztree")
+    (version "1.0.6")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "zTree" version))
+       (sha256
+        (base32
+         "1mywxrx6bw7dzhrdwyxbjzc8ikgvw423zycyji0jjr69cfhpmywv"))))
+    (properties `((upstream-name . "zTree")))
+    (build-system r-build-system)
+    (propagated-inputs
+     `(("r-plyr" ,r-plyr)))
+    (home-page "https://cran.r-project.org/package=zTree")
+    (synopsis "Functions to import data from z-Tree into R")
+    (description
+     "This package provides tools for reading @code{.xls} and @code{.sbj}
+files which are written by the proprietary program z-Tree for developing and
+carrying out economic experiments.")
+    (license license:gpl3)))