guix_mirror_bot pushed a commit to branch r-team
in repository guix.
commit 1bc5f021ba61cdaffa0849fbb16a17a3f5a621e5
Author: Ricardo Wurmus <[email protected]>
AuthorDate: Wed Feb 18 20:32:59 2026 +0100
gnu: r-options: Replace custom phase with #:skipped-tests.
* gnu/packages/cran.scm (r-options)[arguments]: Remove phase
'disable-bad-tests; provide #:skipped-tests argument.
Change-Id: I77a486511664b373ea5b365ae2ea82c83c53dffd
---
gnu/packages/cran.scm | 12 ++++--------
1 file changed, 4 insertions(+), 8 deletions(-)
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 0bad4b975e..77a8682b54 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -38733,14 +38733,10 @@ which has the same usage and output as
@code{optim()}. Using
(build-system r-build-system)
(arguments
(list
- #:phases
- '(modify-phases %standard-phases
- (add-after 'unpack 'disable-bad-tests
- (lambda _
- ;; One test produces an unexpected warning.
- (substitute* "tests/testthat/test-rcmdcheck.R"
- ((".*Packages that use options pass R CMD check.*" m)
- (string-append m "skip('skip');\n"))))))))
+ #:skipped-tests
+ ;; One test produces an unexpected warning.
+ '(("test-rcmdcheck.R"
+ "Packages that use options pass R CMD check"))))
(native-inputs (list r-knitr r-pkgload r-rcmdcheck r-testthat r-withr))
(home-page "https://dgkf.github.io/options/")
(synopsis "Simple, consistent package options")