guix_mirror_bot pushed a commit to branch r-team
in repository guix.
commit c876a7e2ca709259d3c24c15eeb23af518035a60
Author: Ricardo Wurmus <[email protected]>
AuthorDate: Wed Feb 18 17:44:04 2026 +0100
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
---
gnu/packages/cran.scm | 16 +++++++---------
1 file changed, 7 insertions(+), 9 deletions(-)
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index bed3f96b37..6e73b33740 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -40463,17 +40463,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")))