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 @@ (define-public r-assertive-files (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