summary refs log tree commit diff
path: root/gnu/packages/cran.scm
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2021-08-03 10:39:58 +0200
committerRicardo Wurmus <rekado@elephly.net>2021-08-03 10:43:08 +0200
commit424515f9d04fed12cf525746ff039884ea9cd962 (patch)
tree0274319f629c9de82fb8fed8badcf26d0f46e0be /gnu/packages/cran.scm
parente19a9eda25e8a03fa2159927f405031651f750e1 (diff)
downloadguix-424515f9d04fed12cf525746ff039884ea9cd962.tar.gz
gnu: Add r-qs.
* gnu/packages/cran.scm (r-qs): New variable.
Diffstat (limited to 'gnu/packages/cran.scm')
-rw-r--r--gnu/packages/cran.scm28
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index bbedaa2864..d022dfc907 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -30036,3 +30036,31 @@ by using the registration of native function mechanism.  Client packages
 simply include a single header file RApiSerializeAPI.h provided by this
 package.")
     (license license:gpl2+)))
+
+(define-public r-qs
+  (package
+    (name "r-qs")
+    (version "0.25.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "qs" version))
+       (sha256
+        (base32
+         "0qzrhc5jsygj813k956b00h4b6haynz44rk6a4v34fv4ywq9ba7w"))))
+    (properties `((upstream-name . "qs")))
+    (build-system r-build-system)
+    (inputs `(("zlib" ,zlib)))
+    (propagated-inputs
+     `(("r-rapiserialize" ,r-rapiserialize)
+       ("r-rcpp" ,r-rcpp)
+       ("r-stringfish" ,r-stringfish)))
+    (native-inputs
+     `(("pkg-config" ,pkg-config)
+       ("r-knitr" ,r-knitr)))
+    (home-page "https://github.com/traversc/qs")
+    (synopsis "Quick serialization of R objects")
+    (description
+     "This package provides functions for quickly writing and reading any R
+object to and from disk.")
+    (license license:gpl3)))