gnu: r-roptim: Add test inputs.

* gnu/packages/cran.scm (r-roptim)[native-inputs]: Add r-r-rsp and r-testthat.
[arguments]: Add phase 'set-HOME.

Change-Id: Ib2dce8bfe4480e81855cc34baf1daa2765bd2259
This commit is contained in:
Ricardo Wurmus 2024-11-23 08:23:23 +01:00 committed by Andreas Enge
parent 49cea1ae7d
commit 8b619c0588
No known key found for this signature in database
GPG key ID: F7D5C9BF765C61E3

View file

@ -14342,7 +14342,14 @@ (define-public r-roptim
"11h6qdi0rsv0bpps6nxkzzapan284q0gldzkmgx3ww5kvnic5w3y"))))
(properties `((upstream-name . "roptim")))
(build-system r-build-system)
(arguments
(list
#:phases
'(modify-phases %standard-phases
(add-after 'unpack 'set-HOME
(lambda _ (setenv "HOME" "/tmp"))))))
(propagated-inputs (list r-rcpp r-rcpparmadillo))
(native-inputs (list r-r-rsp r-testthat))
(home-page "https://github.com/ypan1988/roptim/")
(synopsis "General purpose optimization in R using C++")
(description