Subject: [PATCH 5/5] gnu: Add r-correlation.

From: Navid Afkhami <[email-masked]>
Date: Fri, 25 Aug 2023 13:12:36 +0000

* gnu/packages/cran.scm (r-correlation): New variable.
---
 gnu/packages/cran.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index d928ac1030..82d674dfb8 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -363,6 +363,29 @@ (define-public r-collections
 queues, stacks, deques, dicts and ordered dicts.")
     (license license:expat)))
 
+(define-public r-correlation
+  (package
+    (name "r-correlation")
+    (version "0.8.4")
+    (source (origin
+              (method url-fetch)
+              (uri (cran-uri "correlation" version))
+              (sha256
+               (base32
+                "07fz7wmvrcd6b023jhj3bsrvg4w6i7f1v99jslm0gj84vzmnqzbs"))))
+    (properties `((upstream-name . "correlation")))
+    (build-system r-build-system)
+    (propagated-inputs (list r-bayestestr r-datawizard r-insight r-parameters))
+    (native-inputs (list r-knitr))
+    (home-page "https://easystats.github.io/correlation/")
+    (synopsis "Methods for Correlation Analysis")
+    (description
+     "This ia a lightweight package for computing different kinds of correlations.
+These correlations include partial correlations, Bayesian correlations, multilevel
+correlations, polychoric correlations, biweight correlations, distance correlations
+and more.")
+    (license license:gpl3)))
+
 (define-public r-cplm
   (package
     (name "r-cplm")
-- 
2.34.1