Subject: [PATCH 10/13] gnu: Add r-bb.

From: Mădălin Ionel Patrașcu<[email-masked]>
Date: Mon, 6 Nov 2023 12:06:46 +0100

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

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

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 18dd82fd03..20d86487f0 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -6266,6 +6266,27 @@ (define-public r-rcppxptrutils
 components.")
     (license license:expat)))
 
+(define-public r-bb
+  (package
+    (name "r-bb")
+    (version "2019.10-1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "BB" version))
+       (sha256
+        (base32 "0kf9sfsm3n036a8a8gjfpc9qdryvadb019kqjh80n1szdv7bdl04"))))
+    (properties `((upstream-name . "BB")))
+    (build-system r-build-system)
+    (propagated-inputs (list r-quadprog))
+    (home-page "https://publichealth.jhu.edu/")
+    (synopsis "Solving and optimizing large-scale nonlinear systems")
+    (description
+     "This package implements Barzilai-Borwein spectral methods for solving
+nonlinear system of equations, and for optimizing nonlinear objective functions
+subject to simple constraints.")
+    (license license:gpl3)))
+
 (define-public r-bindr
   (package
     (name "r-bindr")
-- 
2.41.0