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

From: Mădălin Ionel Patrașcu<[email-masked]>
Date: Tue, 23 Apr 2024 13:25:43 +0200

* gnu/packages/cran.scm (r-roi): New variable.

Change-Id: I58cbb4be238a5cc9f861ee9dafea03a133f7c0f1
---
 gnu/packages/cran.scm | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 4b6ece1eb1..53a964e60a 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -12211,6 +12211,26 @@ (define-public r-randomizr
 experimental designs and random samples for common sampling designs.")
     (license license:expat)))
 
+(define-public r-roi
+  (package
+    (name "r-roi")
+    (version "1.0-1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "ROI" version))
+       (sha256
+        (base32 "05hnj9fskfm2klz7zv97lb0r60akjq4a1cay8p62whpi0hri9zyl"))))
+    (properties `((upstream-name . "ROI")))
+    (build-system r-build-system)
+    (propagated-inputs (list r-checkmate r-registry r-slam))
+    (home-page "https://roi.r-forge.r-project.org/")
+    (synopsis "R optimization infrastructure")
+    (description
+     "The @acronym{ROI, R Optimization Infrastructure} is a framework for handling
+optimization problems in R.")
+    (license license:gpl3)))
+
 (define-public r-roptim
   (package
     (name "r-roptim")
-- 
2.41.0