summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorLars-Dominik Braun <ldb@leibniz-psychology.org>2021-03-15 10:13:07 +0100
committerLars-Dominik Braun <ldb@leibniz-psychology.org>2021-03-15 10:53:09 +0100
commit03af89bd9efaeac35490b75fffb598dde302df12 (patch)
tree9b75f49f2e3c3347433de4582d84b556a188cc50 /gnu
parentcb360afd66b8534b957a8fc9cbf87ce0f35f7e0c (diff)
downloadguix-03af89bd9efaeac35490b75fffb598dde302df12.tar.gz
gnu: Add r-readods.
* gnu/packages/cran.scm (r-readods): 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 6bc6f77a8e..b6ee33170d 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -27641,3 +27641,30 @@ structures from them.")
       "This package provides functions to access Twitter's filter, sample, and
 user streams, and to parse the output into data frames.")
     (license license:gpl2)))
+
+(define-public r-readods
+  (package
+    (name "r-readods")
+    (version "1.7.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (cran-uri "readODS" version))
+        (sha256
+          (base32
+            "1hi217ab7hp15jsbzi5ak57cqf8jn2rv78bnn74q72gn9mrfra7n"))))
+    (properties `((upstream-name . "readODS")))
+    (build-system r-build-system)
+    (propagated-inputs
+      `(("r-cellranger" ,r-cellranger)
+        ("r-readr" ,r-readr)
+        ("r-stringi" ,r-stringi)
+        ("r-xml2" ,r-xml2)))
+    (native-inputs `(("r-knitr" ,r-knitr)))
+    (home-page
+      "https://cran.r-project.org/package=readODS")
+    (synopsis "Read and Write ODS Files")
+    (description
+      "Import @dfn{OpenDocument Spreadsheet} (ODS) into R as a data frame.
+Also support writing data frame into ODS file.")
+    (license license:gpl3)))