mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-02-07 11:29:59 +01:00
gnu: Add r-optimparallel.
* gnu/packages/cran.scm (r-optimparallel): New variable. Change-Id: Id2615f15090036c21754b399e897086c06a38c4f Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
This commit is contained in:
parent
dd6daa13e3
commit
309ad9fcda
1 changed files with 28 additions and 0 deletions
|
@ -27739,6 +27739,34 @@ releases/download/v0.10.1/mathquill-0.10.1.tgz")
|
||||||
authoring books and technical documents with R Markdown.")
|
authoring books and technical documents with R Markdown.")
|
||||||
(license license:gpl3)))
|
(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 tool 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
|
(define-public r-options
|
||||||
(package
|
(package
|
||||||
(name "r-options")
|
(name "r-options")
|
||||||
|
|
Loading…
Add table
Reference in a new issue