summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2026-02-18 17:15:32 +0100
committerAndreas Enge <andreas@enge.fr>2026-03-07 11:57:26 +0100
commit5574c903f47c446cae8dcfdd79b93b604c4361be (patch)
tree9daa57ec925b6d1c57b39183589e07679eef707a
parent82c6def8f5129fc27850ca4bb13ad5052fd328e6 (diff)
gnu: r-bindr: Replace custom phase with #:skipped-tests.
* gnu/packages/cran.scm (r-bindr)[arguments]: Remove phase 'testthat-compatibility; provide #:skipped-tests argument. Change-Id: I478791ae7ec8c75f48846a1efe547db6a0de4387
-rw-r--r--gnu/packages/cran.scm14
1 files changed, 5 insertions, 9 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 885b56051c2..cf66143c37a 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -17591,15 +17591,11 @@ functions subject to simple constraints.")
(build-system r-build-system)
(arguments
(list
- #:phases
- '(modify-phases %standard-phases
- (add-after 'unpack 'testthat-compatibility
- (lambda _
- ;; This test uses the procedure "with_mock", which has been
- ;; removed from testthat.
- (substitute* "tests/testthat/test-error.R"
- ((".*non-native encoding causes warning.*" m)
- (string-append m "skip('skip');\n"))))))))
+ #:skipped-tests
+ ;; This test uses the procedure "with_mock", which has been
+ ;; removed from testthat.
+ '(("test-error.R"
+ "non-native encoding causes warning"))))
(native-inputs (list r-testthat))
(home-page "https://github.com/krlmlr/bindr")
(synopsis "Parametrized active bindings")