aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/cran.scm
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2024-11-26 18:28:53 +0100
committerRicardo Wurmus <rekado@elephly.net>2024-12-03 16:59:51 +0100
commitb32ddaa23a4199115f33738df14fd4f2d888f432 (patch)
tree91e16da4c1ede6c5b41262a8fc0efb1283dc4ce6 /gnu/packages/cran.scm
parent9cb8676b353bc5cc6d43522ff516315fa3dd07b0 (diff)
downloadguix-b32ddaa23a4199115f33738df14fd4f2d888f432.tar.gz
guix-b32ddaa23a4199115f33738df14fd4f2d888f432.zip
gnu: r-spacyr: Fix tests.
* gnu/packages/cran.scm (r-spacyr)[argumenst]: Add phase 'set-HOME. Change-Id: I990c80dd94388da09aa1592e3cc0dd8d14a65d94
Diffstat (limited to 'gnu/packages/cran.scm')
-rw-r--r--gnu/packages/cran.scm8
1 files changed, 8 insertions, 0 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 4ac3fd929a..4d6b9f09cb 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -35318,6 +35318,14 @@ analysis and natural language processing.")
"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