From 5fde35b3859b23b2063750bcb569efdb63c2ac52 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Tue, 12 Mar 2019 22:19:37 +0100 Subject: gnu: Add r-compositions. * gnu/packages/cran.scm (r-compositions): New variable. --- gnu/packages/cran.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) (limited to 'gnu/packages/cran.scm') diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index 6d200d0768..07a6da3c01 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -11023,3 +11023,28 @@ solving large scale eigenvalue/vector problems. The current version of rARPACK simply imports and exports the functions provided by RSpectra. New users of rARPACK are advised to switch to the RSpectra package.") (license license:bsd-3))) + +(define-public r-compositions + (package + (name "r-compositions") + (version "1.40-2") + (source + (origin + (method url-fetch) + (uri (cran-uri "compositions" version)) + (sha256 + (base32 + "12mp05yi7jkdqg9iwh6bc9sx6sdxagcnrirznxy9hq8502p7238i")))) + (build-system r-build-system) + (propagated-inputs + `(("r-bayesm" ,r-bayesm) + ("r-energy" ,r-energy) + ("r-robustbase" ,r-robustbase) + ("r-tensora" ,r-tensora))) + (home-page "http://www.stat.boogaart.de/compositions") + (synopsis "Compositional data analysis") + (description + "This package provides functions for the consistent analysis of +compositional data (e.g. portions of substances) and positive +numbers (e.g. concentrations).") + (license license:gpl2+))) -- cgit 1.4.1