guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

07/11: gnu: Add r-fauxpas.


From: guix-commits
Subject: 07/11: gnu: Add r-fauxpas.
Date: Thu, 26 Aug 2021 05:46:49 -0400 (EDT)

rekado pushed a commit to branch master
in repository guix.

commit 9c4e106383c49f1cc70ce37fe6a7182b1daff741
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Thu Aug 26 11:45:47 2021 +0200

    gnu: Add r-fauxpas.
    
    * gnu/packages/cran.scm (r-fauxpas): New variable.
---
 gnu/packages/cran.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 64008c9..c1ddcb7 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -31222,3 +31222,33 @@ convert dates to MMWR day, week, and year and the 
reverse.")
 requests, and mocking HTTP requests.  The package is built on R6, and takes
 inspiration from Ruby's @code{faraday} gem.")
     (license license:expat)))
+
+(define-public r-fauxpas
+  (package
+    (name "r-fauxpas")
+    (version "0.5.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "fauxpas" version))
+       (sha256
+        (base32
+         "129fzqb7wsskbn50s8x0marr4wm8jrns6hiycqcsk166k3dnyyy8"))))
+    (properties `((upstream-name . "fauxpas")))
+    (build-system r-build-system)
+    (propagated-inputs
+     `(("r-httpcode" ,r-httpcode)
+       ("r-r6" ,r-r6)
+       ("r-whisker" ,r-whisker)))
+    (native-inputs
+     `(("r-knitr" ,r-knitr)))
+    (home-page "https://docs.ropensci.org/fauxpas";)
+    (synopsis "HTTP error helpers")
+    (description
+     "This package provides HTTP error helpers.  Methods are included for
+general purpose HTTP error handling, as well as individual methods for every
+HTTP status code, both via status code numbers as well as their descriptive
+names.  It supports the ability to adjust behavior to stop, message or
+warning.  It includes the ability to use a custom whisker template to have any
+configuration of status code, short description, and verbose message.")
+    (license license:expat)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]