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

commit 52c6039c5b9a4df3fbd852afabb85e87011e8e9a
Author: Ricardo Wurmus <[email protected]>
AuthorDate: Wed Nov 26 12:30:21 2025 +0100

    gnu: r-gutils: Add missing input and patch for testthat compatibility.
    
    * gnu/packages/bioinformatics.scm (r-gutils)[arguments]: Add phase
    'testthat-compatibility.
    [native-inputs]: Add r-xvector.
    
    Change-Id: I6178bb62486167445921069e0f40e122f10c838e
---
 gnu/packages/bioinformatics.scm | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index fe96ab492d..15af68910a 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -12754,6 +12754,15 @@ sankey, alluvial and sankey bump plots in 
@code{ggplot2}.")
                   "11ijzy1zyjv2wgxrfcaan7g82jl27skd41hw4s2xh9lijkn8ilwh"))))
       (properties `((upstream-name . "gUtils")))
       (build-system r-build-system)
+      (arguments
+       (list
+        #:phases
+        '(modify-phases %standard-phases
+           ;; These deprecated procedures have been removed in testthat.
+           (add-after 'unpack 'testthat-compatibility
+             (lambda _
+               (substitute* "tests/testthat/test_rangeops.R"
+                 (("is_true\\(\\)") "expect_true")))))))
       (propagated-inputs
        (list r-biocgenerics
              r-data-table
@@ -12763,7 +12772,7 @@ sankey, alluvial and sankey bump plots in 
@code{ggplot2}.")
              r-matrix
              r-s4vectors
              r-stringr))
-      (native-inputs (list r-testthat))
+      (native-inputs (list r-testthat r-xvector))
       (home-page "https://github.com/mskilab/gUtils";)
       (synopsis "Additional capabilities and speed for GenomicRanges 
operations")
       (description

Reply via email to