aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/cran.scm
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2017-08-14 21:51:45 +0200
committerRicardo Wurmus <rekado@elephly.net>2017-08-17 17:26:09 +0200
commit18a16ceb7c993fa043215fbf51f520cde87ca20d (patch)
tree1ae6199ed01d9d71f93f3f3657f73e4b5dbef053 /gnu/packages/cran.scm
parent49c9c2979071c153bf3d6a25737ad1873b649d88 (diff)
downloadpatches-18a16ceb7c993fa043215fbf51f520cde87ca20d.tar
patches-18a16ceb7c993fa043215fbf51f520cde87ca20d.tar.gz
gnu: Add r-prettyunits.
* gnu/packages/cran.scm (r-prettyunits): New variable.
Diffstat (limited to 'gnu/packages/cran.scm')
-rw-r--r--gnu/packages/cran.scm22
1 files changed, 22 insertions, 0 deletions
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 @@ in main memory.")
"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)))