GNU bug report logs - #75607
[PATCH] gnu: Add r-optimparallel.

Previous Next

Package: guix-patches;

Reported by: Navid Afkhami <navid.afkhami <at> mdc-berlin.de>

Date: Thu, 16 Jan 2025 16:45:01 UTC

Severity: normal

Tags: patch

Done: Ricardo Wurmus <rekado <at> elephly.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Ricardo Wurmus <rekado <at> elephly.net>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#75607: closed ([PATCH] gnu: Add r-optimparallel.)
Date: Tue, 21 Jan 2025 12:56:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Tue, 21 Jan 2025 13:55:31 +0100
with message-id <87r04wcon0.fsf <at> elephly.net>
and subject line [PATCH] gnu: Add r-optimparallel.
has caused the debbugs.gnu.org bug report #75607,
regarding [PATCH] gnu: Add r-optimparallel.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
75607: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=75607
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Navid Afkhami <navid.afkhami <at> mdc-berlin.de>
To: <guix-patches <at> gnu.org>
Cc: Navid Afkhami <navid.afkhami <at> mdc-berlin.de>
Subject: [PATCH] gnu: Add r-optimparallel.
Date: Thu, 16 Jan 2025 16:43:46 +0000
* gnu/packages/cran.scm (r-optimparallel): New variable.

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

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 7489954875..410de79ecf 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -27716,6 +27716,34 @@ (define-public r-bookdown
 authoring books and technical documents with R Markdown.")
     (license license:gpl3)))
 
+(define-public r-optimparallel
+  (package
+    (name "r-optimparallel")
+    (version "1.0-2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "optimParallel" version))
+       (sha256
+        (base32 "178ayfaivkbxkghxbg97lx4gl27kxkmgaaw9y8q5206r4cncd6qg"))))
+    (properties `((upstream-name . "optimParallel")))
+    (build-system r-build-system)
+    (arguments
+     (list
+      #:phases '(modify-phases %standard-phases
+                  (add-after 'unpack 'set-HOME
+                    (lambda _
+                      (setenv "HOME" "/tmp"))))))
+    (native-inputs (list r-numderiv r-r-rsp r-testthat))
+    (home-page "https://github.com/florafauna/optimParallel-R")
+    (synopsis "Parallel version of the L-BFGS-B optimization method")
+    (description
+     "This toole provides a parallel version of the L-BFGS-B method of @code{optim()}.
+The main function of the package is @code{optimParallel()}, which has the
+same usage and output as @code{optim()}.  Using @code{optimParallel()}
+can significantly reduce the optimization time.")
+    (license license:gpl2+)))
+
 (define-public r-options
   (package
     (name "r-options")

base-commit: 7aae0e2c159b1612b405a372b18f25fbb58f9d82
-- 
2.43.0



[Message part 3 (message/rfc822, inline)]
From: Ricardo Wurmus <rekado <at> elephly.net>
To: 75607-done <at> debbugs.gnu.org
Subject: [PATCH] gnu: Add r-optimparallel.
Date: Tue, 21 Jan 2025 13:55:31 +0100
Thanks for the patch, applied!

-- 
Ricardo


This bug report was last modified 121 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.