From 5574c903f47c446cae8dcfdd79b93b604c4361be Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Wed, 18 Feb 2026 17:15:32 +0100 Subject: 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 --- gnu/packages/cran.scm | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) (limited to 'gnu') diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index 885b56051c..cf66143c37 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") -- cgit v1.3