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

commit 14cc26b6e8a1626f6d9a7c55630e42e61a41816d
Author: Ricardo Wurmus <[email protected]>
AuthorDate: Wed Mar 11 20:43:34 2026 +0100

    gnu: r-sessioninfo: Replace custom phase with test arguments.
    
    * gnu/packages/cran.scm (r-sessioninfo)[arguments]: Remove phase
    'delete-bad-tests; provide SKIPPED-TESTS argument instead.
    
    Change-Id: I1103be5957f08f81ca0a82cfad232c76aa13db18
---
 gnu/packages/cran.scm | 11 +++--------
 1 file changed, 3 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index b6cd83f77e..efd2252cd4 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -31848,14 +31848,9 @@ Rcpp, RStudio projects, and more.")
     (build-system r-build-system)
     (arguments
      (list
-      #:phases
-      '(modify-phases %standard-phases
-         (add-after 'unpack 'delete-bad-tests
-           (lambda _
-             ;; One test attempts to connect to a website
-             (delete-file "tests/testthat/test-diff.R")
-             ;; This one fails for silly reasons.
-             (delete-file "tests/testthat/test-platform-info.R"))))))
+      #:skipped-tests
+      ;; This test fails for silly reasons.
+      '("test-platform-info.R")))
     (propagated-inputs
      (list r-cli))
     (native-inputs (list r-callr r-testthat r-withr))

Reply via email to