summary refs log tree commit diff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2022-03-14 13:12:01 +0100
committerRicardo Wurmus <rekado@elephly.net>2022-03-15 20:18:54 +0100
commit231841f9b930a7e99f472f5f98f05bbb3f324e4b (patch)
treebfb6cc47b5c771261427b741c697ee0a48574a10
parent5b325ab18ddf64daa3a9e7348617e3ce7b6c1fae (diff)
downloadguix-231841f9b930a7e99f472f5f98f05bbb3f324e4b.tar.gz
gnu: r-afex: Add vignette builder.
* gnu/packages/cran.scm (r-afex)[native-inputs]: Add r-r-rsp.
[arguments]: Add build phase to set HOME variable.
-rw-r--r--gnu/packages/cran.scm9
1 files changed, 8 insertions, 1 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 93813ecce9..93ce536fe2 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -12616,10 +12616,17 @@ analysing multivariate abundance data in community ecology.")
         (base32
          "1k04n6gwk2n8kg0l3yk5j3wrqgkv5f6w04yjpif9y451hx5w7svg"))))
     (build-system r-build-system)
+    ;; This is needed for the vignette builder
+    (arguments
+     '(#:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'set-HOME
+           (lambda _ (setenv "HOME" "/tmp"))))))
     (propagated-inputs
      (list r-car r-lme4 r-lmertest r-pbkrtest r-reshape2))
     (native-inputs
-     (list r-knitr))
+     (list r-knitr
+           r-r-rsp)) ;vignette builder
     (home-page "https://afex.singmann.science/")
     (synopsis "Analysis of factorial experiments")
     (description