gnu: r-spacyr: Fix tests.

* gnu/packages/cran.scm (r-spacyr)[argumenst]: Add phase 'set-HOME.

Change-Id: I990c80dd94388da09aa1592e3cc0dd8d14a65d94
This commit is contained in:
Ricardo Wurmus 2024-11-26 18:28:53 +01:00 committed by Andreas Enge
parent 3a84d4853a
commit e68fa114d2
No known key found for this signature in database
GPG key ID: F7D5C9BF765C61E3

View file

@ -35318,6 +35318,14 @@ (define-public r-spacyr
"1z4nx8phrc0l73xic2lkff03a54kjw343425h5mm2afz6zidcmf4"))))
(properties `((upstream-name . "spacyr")))
(build-system r-build-system)
(arguments
(list
#:phases
'(modify-phases %standard-phases
;; When there is no HOME directory, this package will fail to find
;; the vignette builder.
(add-after 'unpack 'set-HOME
(lambda _ (setenv "HOME" "/tmp"))))))
(propagated-inputs
(list r-data-table r-reticulate))
(native-inputs