From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56171) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dhMR9-00072R-2a for guix-patches@gnu.org; Mon, 14 Aug 2017 16:58:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dhMR8-0000by-D9 for guix-patches@gnu.org; Mon, 14 Aug 2017 16:58:11 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:56523) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dhMR8-0000bm-AS for guix-patches@gnu.org; Mon, 14 Aug 2017 16:58:10 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dhMR7-0000TC-06 for guix-patches@gnu.org; Mon, 14 Aug 2017 16:58:10 -0400 Subject: [bug#28089] [PATCH 16/29] gnu: Add r-prettyunits. Resent-Message-ID: From: Ricardo Wurmus Date: Mon, 14 Aug 2017 22:56:58 +0200 Message-Id: <20170814205711.10797-16-rekado@elephly.net> In-Reply-To: <20170814205711.10797-1-rekado@elephly.net> References: <20170814205711.10797-1-rekado@elephly.net> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 28089@debbugs.gnu.org Cc: Ricardo Wurmus * 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 80ed0bc26..637ddfe4f 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))) -- 2.13.3