summary refs log tree commit diff
diff options
context:
space:
mode:
authorMădălin Ionel Patrașcu <madalinionel.patrascu@mdc-berlin.de>2023-11-06 12:06:46 +0100
committerRicardo Wurmus <rekado@elephly.net>2023-11-13 15:04:12 +0100
commitf95519432175d7a9061152132f4a7387e0e513a9 (patch)
tree3a54208a15387ea57bc77c069065cc4cd599aedd
parent53b4e01e2947296ed48f584bcfded865fc0f1a75 (diff)
downloadguix-f95519432175d7a9061152132f4a7387e0e513a9.tar.gz
gnu: Add r-bb.
* gnu/packages/cran.scm (r-bb): New variable.

Change-Id: Ia1f4ca93fd91d7da5c105b70683f7ecb913079a0
-rw-r--r--gnu/packages/cran.scm21
1 files changed, 21 insertions, 0 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 667035007f..11bc4aee50 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -6340,6 +6340,27 @@ with Rcpp and retrieve an @code{XPtr} that can be passed to other C++
 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")