summary refs log tree commit diff
path: root/gnu/packages/cran.scm
diff options
context:
space:
mode:
authorWiktor Żelazny <wz@freeshell.de>2022-06-08 19:05:15 +0200
committerRicardo Wurmus <rekado@elephly.net>2022-07-01 10:33:01 +0200
commit5ae0d8a9d02b046222ba276b406fa48541a6b5dd (patch)
treef3398d6dcf6b0da98eaed08854930c0c4c624ad2 /gnu/packages/cran.scm
parentc359153ac47d219677ac6946b96d1d2aee6effd0 (diff)
downloadguix-5ae0d8a9d02b046222ba276b406fa48541a6b5dd.tar.gz
gnu: Add r-measurements.
* gnu/packages/cran.scm (r-measurements): New variable.
Diffstat (limited to 'gnu/packages/cran.scm')
-rw-r--r--gnu/packages/cran.scm20
1 files changed, 20 insertions, 0 deletions
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 @@ estimating the variogram and then calling @command{gstat}.")
     (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)))