summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2026-02-18 17:44:04 +0100
committerAndreas Enge <andreas@enge.fr>2026-03-07 11:57:26 +0100
commit484f1efbdcda6667b2b54e1adce1013aa90f0898 (patch)
treea3940e3cb0f1fa8228146dd846ebd47a83894870
parentec87bbbf6918f96d655d1764ba13b07fe7b2979c (diff)
gnu: r-arrow: Replace custom phase with #:skipped-tests.
* gnu/packages/cran.scm (r-arrow)[arguments]: Remove phase 'delete-bad-tests; provide #:skipped-tests argument. Change-Id: I4a39c72c2b1df2c7d75ac059035490ed79bce3f1
-rw-r--r--gnu/packages/cran.scm16
1 files changed, 7 insertions, 9 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 47822e3fc7c..21eb5ad22a7 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -40510,17 +40510,15 @@ colored by the number of neighboring points. This is useful to visualize the
(build-system r-build-system)
(arguments
(list
+ #:skipped-tests
+ '(;; Two tests fail with "Cannot locate timezone"
+ "test-dataset-dplyr.R"
+ ;; Error: NotImplemented: Function 'greater' has no kernel
+ ;; matching input types (timestamp[us, tz=UTC], string)
+ ("test-dplyr-query.R"
+ "Scalars in expressions match the type of the field, if possible"))
#:phases
'(modify-phases %standard-phases
- (add-after 'unpack 'delete-bad-tests
- (lambda _
- ;; Two tests fail with "Cannot locate timezone"
- (delete-file "tests/testthat/test-dataset-dplyr.R")
- ;; Error: NotImplemented: Function 'greater' has no kernel
- ;; matching input types (timestamp[us, tz=UTC], string)
- (substitute* "tests/testthat/test-dplyr-query.R"
- ((".*Scalars in expressions match the type of the field, if possible.*" m)
- (string-append m "skip('skip');\n")))))
;; Some test fail when the current locale is the C locale.
(add-before 'check 'set-test-locale
(lambda _ (setenv "LC_ALL" "en_US.UTF-8")))