summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2021-05-26 21:41:30 +0100
committerRicardo Wurmus <rekado@elephly.net>2021-07-22 11:37:21 +0200
commitc5baff179687991c12a0beb514bc6c156f543018 (patch)
tree051e38005eab38217a0ebc2724dcc8754f589b5d /gnu/packages
parentb05a1eb5e36e4259fa89a75412eb4e5cc75ef21e (diff)
downloadguix-c5baff179687991c12a0beb514bc6c156f543018.tar.gz
gnu: Add r-webutils
* gnu/packages/cran.scm (r-webutils): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/cran.scm24
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index d7ae9b8b1d..3fa775d0ee 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -29798,3 +29798,27 @@ asynchronously from formatting.")
     (description "The Rmisc library contains functions for data analysis and
 utility operations.")
     (license license:gpl3)))
+
+(define-public r-webutils
+  (package
+    (name "r-webutils")
+    (version "1.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "webutils" version))
+       (sha256
+        (base32 "16a6ds0fnb6y8i1r9ba1hf1ydb53am57s070b3hi5jmrs84b9qik"))))
+    (properties `((upstream-name . "webutils")))
+    (build-system r-build-system)
+    (propagated-inputs
+     `(("r-curl" ,r-curl)
+       ("r-jsonlite" ,r-jsonlite)))
+    (home-page "https://github.com/jeroen/webutils")
+    (synopsis "Utility functions for developing web applications")
+    (description
+     "This package parses HTTP request data in @code{application/json},
+@code{multipart/form-data}, or @code{application/x-www-form-urlencoded}
+format.  It includes an example of hosting and parsing HTML form data in R
+using either @code{httpuv} or @code{Rhttpd}.")
+    (license license:expat)))