guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

11/112: gnu: Add r-optimx.


From: guix-commits
Subject: 11/112: gnu: Add r-optimx.
Date: Wed, 9 Dec 2020 16:06:28 -0500 (EST)

rekado pushed a commit to branch master
in repository guix.

commit fab49665bbeba23dff45beafbab34a1413ae77e7
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Wed Dec 9 17:48:04 2020 +0100

    gnu: Add r-optimx.
    
    * gnu/packages/cran.scm (r-optimx): New variable.
---
 gnu/packages/cran.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index b7d3d4c..85b1dec 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -22861,6 +22861,34 @@ included in this package as well.")
 estimation.")
     (license license:gpl2+)))
 
+(define-public r-optimx
+  (package
+    (name "r-optimx")
+    (version "2020-4.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "optimx" version))
+       (sha256
+        (base32
+         "00bi2sr2hr7x6cfwlsn7hz2r56lcyv9naa8vmfcgr1r269fc50b3"))))
+    (properties `((upstream-name . "optimx")))
+    (build-system r-build-system)
+    (propagated-inputs `(("r-numderiv" ,r-numderiv)))
+    (native-inputs `(("r-knitr" ,r-knitr)))
+    (home-page "https://cran.r-project.org/web/packages/optimx/";)
+    (synopsis "Expanded replacement and extension of the optim function")
+    (description
+     "This package provides a replacement and extension of the @code{optim}
+function to call to several function minimization codes in R in a single
+statement.  These methods handle smooth, possibly box constrained functions of
+several or many parameters.  Note that the function @code{optimr} was prepared
+to simplify the incorporation of minimization codes going forward.  This
+package also implements some utility codes and some extra solvers, including
+safeguarded Newton methods.  Many methods previously separate are now included
+here.")
+    (license license:gpl2)))
+
 (define-public r-brms
   (package
     (name "r-brms")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]