gnu: r-abaenrichment: Adjust for testthat compatibility.

* gnu/packages/bioconductor.scm (r-abaenrichment)[arguments]: Add phase
'testthat-compatibility.

Change-Id: I532339067402d2465b793bb16f6b137c425170ff
This commit is contained in:
Ricardo Wurmus 2025-11-27 07:23:02 +01:00
parent 5492b50068
commit 1ec0fb5d18
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -20273,6 +20273,19 @@ annotations and ontologies.")
(base32
"1sp3f72rzlr822dxx42bswynrwwfx6f520hdhfdikqp13p2y4044"))))
(properties `((upstream-name . "ABAEnrichment")))
(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_0load_by_name.R"
"tests/testthat/test_aba_enrich.R"
"tests/testthat/test_detect_identifier.R"
"tests/testthat/test_get_superstructures.R")
(("is_true\\(\\)") "expect_true")
(("is_false\\(\\)") "expect_false")))))))
(build-system r-build-system)
(propagated-inputs
(list r-abadata