Subject: [bug#39416] [PATCH 27/34] gnu: Add package r-ggm

From: Lars-Dominik Braun <[email-masked]>
Date: Tue, 4 Feb 2020 14:56:19 +0100

* gnu/packages/cran.scm (r-ggm): 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 7b9545ca30..d006c3d663 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -19998,3 +19998,26 @@ implemented the recent improvements in the Bayesian graphical models
 literature, including Mohammadi and Wit (2015) <doi:10.1214/14-BA889>,
 Mohammadi and Wit (2019) <doi:10.18637/jss.v089.i03>.")
     (license license:gpl2+)))
+
+(define-public r-ggm
+  (package
+    (name "r-ggm")
+    (version "2.3")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (cran-uri "ggm" version))
+        (sha256
+          (base32
+            "1n4y459x2i0jil8chjjqqjs28a8pzfxrws2fcjkg3il7zy0zwbw3"))))
+    (properties `((upstream-name . "ggm")))
+    (build-system r-build-system)
+    (propagated-inputs `(("r-igraph" ,r-igraph)))
+    (home-page
+      "https://cran.r-project.org/package=ggm")
+    (synopsis
+      "Functions for graphical Markov models")
+    (description
+      "This package provides functions and datasets for maximum likelihood
+fitting of some classes of graphical Markov models.")
+    (license license:gpl2+)))
-- 
2.20.1