diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2021-08-26 11:45:47 +0200 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2021-08-26 11:45:47 +0200 |
commit | 9c4e106383c49f1cc70ce37fe6a7182b1daff741 (patch) | |
tree | 69d98326d3085e1e22fe76ff69792b42348389ca /gnu/packages/cran.scm | |
parent | e13de8715ffe98b707d4702ddd67d300017f5aa3 (diff) |
gnu: Add r-fauxpas.
* gnu/packages/cran.scm (r-fauxpas): New variable.
Diffstat (limited to 'gnu/packages/cran.scm')
-rw-r--r-- | gnu/packages/cran.scm | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index 64008c97e0..c1ddcb7897 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))) |