summaryrefslogtreecommitdiff
path: root/gnu/packages/cran.scm
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2019-03-12 22:19:37 +0100
committerRicardo Wurmus <rekado@elephly.net>2019-03-12 22:47:56 +0100
commit5fde35b3859b23b2063750bcb569efdb63c2ac52 (patch)
tree0bf93b7392b56c711255abfd8b9419df3b5e3707 /gnu/packages/cran.scm
parent7d779142ab663f898aae316b12cee3b52840ec38 (diff)
downloadpatches-5fde35b3859b23b2063750bcb569efdb63c2ac52.tar
patches-5fde35b3859b23b2063750bcb569efdb63c2ac52.tar.gz
gnu: Add r-compositions.
* gnu/packages/cran.scm (r-compositions): New variable.
Diffstat (limited to 'gnu/packages/cran.scm')
-rw-r--r--gnu/packages/cran.scm25
1 files changed, 25 insertions, 0 deletions
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+)))