From 18a16ceb7c993fa043215fbf51f520cde87ca20d Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Mon, 14 Aug 2017 21:51:45 +0200 Subject: gnu: Add r-prettyunits. * gnu/packages/cran.scm (r-prettyunits): New variable. --- gnu/packages/cran.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index 80ed0bc26e..637ddfe4f0 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -431,3 +431,25 @@ (define-public r-ffbase "This package extends the out of memory vectors of @code{ff} with statistical functions and other utilities to ease their usage.") (license license:gpl3))) + +(define-public r-prettyunits + (package + (name "r-prettyunits") + (version "1.0.2") + (source + (origin + (method url-fetch) + (uri (cran-uri "prettyunits" version)) + (sha256 + (base32 + "0p3z42hnk53x7ky4d1dr2brf7p8gv3agxr71i99m01n2hq2ri91m")))) + (build-system r-build-system) + (propagated-inputs + `(("r-assertthat" ,r-assertthat) + ("r-magrittr" ,r-magrittr))) + (home-page "https://github.com/gaborcsardi/prettyunits") + (synopsis "Pretty, human readable formatting of quantities") + (description + "This package provides tools for pretty, human readable formatting of +quantities.") + (license license:expat))) -- cgit v1.2.3