From 231841f9b930a7e99f472f5f98f05bbb3f324e4b Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Mon, 14 Mar 2022 13:12:01 +0100 Subject: [PATCH] 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 @@ (define-public r-afex (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