guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

112/112: gnu: r-afex: Add vignette builder.


From: guix-commits
Subject: 112/112: gnu: r-afex: Add vignette builder.
Date: Tue, 15 Mar 2022 15:22:29 -0400 (EDT)

rekado pushed a commit to branch master
in repository guix.

commit 231841f9b930a7e99f472f5f98f05bbb3f324e4b
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Mon Mar 14 13:12:01 2022 +0100

    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.
---
 gnu/packages/cran.scm | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]