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.
This commit is contained in:
Ricardo Wurmus 2022-03-14 13:12:01 +01:00
parent 5b325ab18d
commit 231841f9b9
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -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