Subject: [PATCH] Packaged this tool for Guix proper with chnaged to the definition of the package.
From: Navid Afkhami <[email-masked]>
To: <[email-masked]>
Cc: Navid Afkhami <[email-masked]>
Date: Tue, 26 Nov 2024 13:31:03 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

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

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 599238d0d8..a1e0213565 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -68,12 +68,15 @@ (define-module (gnu packages cran)
   #:use-module (gnu packages algebra)
   #:use-module (gnu packages autotools)
   #:use-module (gnu packages base)
+  #:use-module (gnu packages bash)
   #:use-module (gnu packages bioinformatics)
   #:use-module (gnu packages c)
+  #:use-module (gnu packages cmake)
   #:use-module (gnu packages compression)
   #:use-module (gnu packages crypto)
   #:use-module (gnu packages curl)
   #:use-module (gnu packages databases)
+  #:use-module (gnu packages debian)
   #:use-module (gnu packages fontutils)
   #:use-module (gnu packages fribidi)
   #:use-module (gnu packages gcc)
@@ -39757,6 +39760,29 @@ (define-public r-highlight
 chunks.")
     (license license:gpl3+)))
 
+(define-public r-highs
+  (package
+    (name "r-highs")
+    (version "0.1-10")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "highs" version))
+       (sha256
+        (base32 "1vjmzbfydlm434fa1mkwwfcdhmn6sq4ppib26nxfa9zakr7h7q2c"))))
+    (properties `((upstream-name . "highs")))
+    (build-system r-build-system)
+    (inputs (list bash-minimal))
+    (propagated-inputs (list r-checkmate r-pkgconfig r-rcpp))
+    (native-inputs (list cmake-minimal debianutils gfortran))
+    (home-page "https://gitlab.com/roigrp/solver/highs")
+    (synopsis "'HiGHS' Optimization Solver")
+    (description
+     "R interface to @code{HiGHS}, an optimization solver.
+It is designed for solving mixed-integer optimization problems
+with quadratic or linear objectives and linear constraints.")
+    (license license:gpl2+)))
+
 (define-public r-clustree
   (package
     (name "r-clustree")

base-commit: 9b1fb12978482ffb6d37c456343f05609b28b3e8
-- 
2.43.0