Subject: [bug#65535] [PATCH 3/5] gnu: Add r-mc2d.

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

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

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index dd90da6826..d9618a9d14 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -2997,6 +2997,26 @@ (define-public r-mclogit
 the group sizes are small.")
     (license license:gpl2)))
 
+(define-public r-mc2d
+  (package
+    (name "r-mc2d")
+    (version "0.2.0")
+    (source (origin
+              (method url-fetch)
+              (uri (cran-uri "mc2d" version))
+              (sha256
+               (base32
+                "07h2gvmdfqjydikxksbqhikihg46fv6xyn8vk5kyni6x75gp9abk"))))
+    (properties `((upstream-name . "mc2d")))
+    (build-system r-build-system)
+    (propagated-inputs (list r-ggplot2 r-ggpubr r-mvtnorm))
+    (home-page "https://cran.r-project.org/package=mc2d")
+    (synopsis "Tools for two-dimensional monte-carlo simulations")
+    (description
+     "This is a framework for construction and analysis of 2D Monte-Carlo simulations.
+In addition, this package includes various distributions.")
+    (license license:gpl2+)))
+
 (define-public r-shadowtext
   (package
     (name "r-shadowtext")
-- 
2.34.1