diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2024-11-29 21:53:26 +0100 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2024-12-03 16:59:59 +0100 |
commit | a18bc29ee0de523e9dcd252be90a3230cd279ef7 (patch) | |
tree | 0707b83adab3d241d680be1dcb7f3a7591e86c1c /gnu/packages/cran.scm | |
parent | bf177fb7322c3006ffaa831df6da57b8d5375585 (diff) | |
download | guix-a18bc29ee0de523e9dcd252be90a3230cd279ef7.tar.gz guix-a18bc29ee0de523e9dcd252be90a3230cd279ef7.zip |
gnu: r-assertive-files: Add missing input.
* gnu/packages/cran.scm (r-assertive-files)[native-inputs]: Add r-testthat.
[arguments]: Add phases 'set-HOME.
Change-Id: Icd6d2dc145b31b25fcad1c0482ba87928165c7f7
Diffstat (limited to 'gnu/packages/cran.scm')
-rw-r--r-- | gnu/packages/cran.scm | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index dce0cec37d..531e3a2d9e 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -24112,8 +24112,16 @@ who want to include run-time testing features in their own packages.") (properties `((upstream-name . "assertive.files"))) (build-system r-build-system) + (arguments + (list + #:phases + '(modify-phases %standard-phases + ;; Needed for one test. + (add-before 'check 'set-HOME + (lambda _ (setenv "HOME" "/tmp")))))) (propagated-inputs (list r-assertive-base r-assertive-numbers)) + (native-inputs (list r-testthat)) (home-page "https://bitbucket.org/richierocks/assertive.files") (synopsis "Assertions to check properties of files") (description |