Subject: [PATCH 1/2] gnu: Add r-dmwr2.

From: Mădălin Ionel Patrașcu<[email-masked]>
Date: Fri, 28 Oct 2022 07:02:34 +0200

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

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index f969da5b3c..eb4532a62a 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -402,6 +402,36 @@ (define-public r-dixontest
 Gaussian quadrature for a numerical solution.")
     (license license:gpl3)))
 
+(define-public r-dmwr2
+  (package
+    (name "r-dmwr2")
+    (version "0.0.2")
+    (source (origin
+              (method url-fetch)
+              (uri (cran-uri "DMwR2" version))
+              (sha256
+               (base32
+                "1vzfbz2k05j8r2hpig3d2grb99rnnh2s1sviii3prcyqicxfh0i9"))))
+    (properties `((upstream-name . "DMwR2")))
+    (build-system r-build-system)
+    (propagated-inputs
+     (list r-class
+           r-dbi
+           r-dplyr
+           r-quantmod
+           r-readr
+           r-rpart
+           r-xts
+           r-zoo))
+    (home-page "https://github.com/ltorgo/DMwR2")
+    (synopsis
+     "Functions and data for the second edition of \"Data Mining with R\"")
+    (description
+     "This package provides functions and data accompanying the second edition
+of the book \"Data Mining with R, learning with case studies\" by Luis Torgo,
+published by CRC Press.")
+    (license license:gpl2+)))
+
 (define-public r-emdist
   (package
     (name "r-emdist")

base-commit: ac51b9c86d58cfdb13ee643a2fdc8e979939a260
-- 
2.38.0