Subject: [bug#70535] [PATCH 3/5] gnu: Add r-roi-plugin-lpsolve.

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

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

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

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 53a964e60a..1fdd5eb685 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -1680,6 +1680,26 @@ (define-public r-rocit
 metrics.")
     (license license:gpl3)))
 
+(define-public r-roi-plugin-lpsolve
+  (package
+    (name "r-roi-plugin-lpsolve")
+    (version "1.0-2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "ROI.plugin.lpsolve" version))
+       (sha256
+        (base32 "0xgg1fzq5sba3yvvrci3iw97p31walpnhv4zwnd39gw8v5z6f9dj"))))
+    (properties `((upstream-name . "ROI.plugin.lpsolve")))
+    (build-system r-build-system)
+    (propagated-inputs (list r-lpsolveapi r-roi))
+    (home-page "https://roigrp.gitlab.io")
+    (synopsis "Plugin of lp_solve for the R optimization infrastructure")
+    (description
+     "This package enhances the @acronym{ROI, R Optimization Infrastructure} with
+the lp_solve solver.")
+    (license license:gpl3)))
+
 (define-public r-rorcid
   (package
     (name "r-rorcid")
-- 
2.41.0