From 5ae0d8a9d02b046222ba276b406fa48541a6b5dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wiktor=20=C5=BBelazny?= Date: Wed, 8 Jun 2022 19:05:15 +0200 Subject: [PATCH] gnu: Add r-measurements. * gnu/packages/cran.scm (r-measurements): New variable. --- gnu/packages/cran.scm | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index a49afb4cff..5699495c6e 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -33624,3 +33624,23 @@ (define-public r-cartogram (description "This package enables construction of continuous and non-contiguous area cartograms.") (license license:gpl3))) + +(define-public r-measurements + (package + (name "r-measurements") + (version "1.4.0") + (source (origin + (method url-fetch) + (uri (cran-uri "measurements" version)) + (sha256 + (base32 + "1kihavs9vgxwqjm9z1zjjngkmcwfsv8dg7nn9nrv5r06k5hv8bz6")))) + (properties `((upstream-name . "measurements"))) + (build-system r-build-system) + (home-page "https://cran.r-project.org/web/packages/measurements/") + (synopsis "Tools for units of measurement") + (description + "This package provides a collection of tools to make working with physical +measurements easier. One can convert between metric and imperial units, or +calculate a dimension's unknown value from other dimensions' measurements.") + (license license:gpl3)))