summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2026-02-18 20:32:59 +0100
committerAndreas Enge <andreas@enge.fr>2026-03-07 11:57:27 +0100
commit74d0223f018ca9d65b7ca16ba8a987ac9db81025 (patch)
treef1f4eb55236bab17f2ce1cfcdd0712411f6ef28a
parent785f3e5307a698915fa9a24d8b736779904e806e (diff)
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
-rw-r--r--gnu/packages/cran.scm12
1 files changed, 4 insertions, 8 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index ba0df818f04..0790600856e 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -38780,14 +38780,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")