guix-commits
[Top][All Lists]
Advanced

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

06/23: gnu: r-assertive-properties: Add test inputs.


From: guix-commits
Subject: 06/23: gnu: r-assertive-properties: Add test inputs.
Date: Mon, 25 Nov 2024 10:56:57 -0500 (EST)

rekado pushed a commit to branch r-team
in repository guix.

commit 67fc1fea657a637f8637285f5445f455f25d3324
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Mon Nov 25 14:08:42 2024 +0100

    gnu: r-assertive-properties: Add test inputs.
    
    * gnu/packages/cran.scm (r-assertive-properties)[native-inputs]: Add
    r-testthat.
    [arguments]: Add phase 'delete-bad-tests.
    
    Change-Id: Idb11a7bfb85dc6f5a4e365149488dd1996e7d8a5
---
 gnu/packages/cran.scm | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 39f45ab968..baabc049ba 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -23326,8 +23326,18 @@ want to include run-time testing features in their own 
packages.")
     (properties
      `((upstream-name . "assertive.properties")))
     (build-system r-build-system)
+    (arguments
+     (list
+      #:phases
+      '(modify-phases %standard-phases
+         (add-after 'unpack 'delete-bad-tests
+           (lambda _
+             ;; One test fails
+             (delete-file
+              "tests/testthat/test-is-atomic-recursive-vector.R"))))))
     (propagated-inputs
      (list r-assertive-base))
+    (native-inputs (list r-testthat))
     (home-page "https://bitbucket.org/richierocks/assertive.properties";)
     (synopsis "Assertions to check properties of variables")
     (description



reply via email to

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