summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2026-02-18 17:15:00 +0100
committerAndreas Enge <andreas@enge.fr>2026-03-07 11:57:26 +0100
commit82c6def8f5129fc27850ca4bb13ad5052fd328e6 (patch)
tree95f45e68136aa66b3357bdfa7015512c45682722 /gnu
parent85289d3d7c49173471a5e66f40aa5404022642ed (diff)
gnu: r-flextable: Replace custom phase with #:skipped-tests.
* gnu/packages/cran.scm (r-flextable)[arguments]: Remove phase 'disable-bad-tests; provide #:skipped-tests argument. Change-Id: Ia61deb9513b9d24b38aafa0bed231efd5d7cd362
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/cran.scm39
1 files changed, 15 insertions, 24 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 86a9febfffd..885b56051c2 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -27784,30 +27784,21 @@ functions.")
(build-system r-build-system)
(arguments
(list
- #:phases
- '(modify-phases %standard-phases
- (add-after 'unpack 'disable-bad-tests
- (lambda _
- ;; These all fail with: 'write_xml.xml_document(private$doc, file
- ;; = private$filename)`: Error closing file
- (substitute* "tests/testthat/test-as_flextable.R"
- ((".*grouped data structure.*" m)
- (string-append m "skip('skip');\n")))
- (substitute* "tests/testthat/test-link.R"
- ((".*URL are preserved in pptx.*" m)
- (string-append m "skip('skip');\n")))
- (substitute* "tests/testthat/test-pptx-tables.R"
- ((".*(row height is valid|location is correct).*" m)
- (string-append m "skip('skip');\n")))
- (substitute* "tests/testthat/test-rotations.R"
- ((".*pptx rotations.*" m)
- (string-append m "skip('skip');\n")))
- (substitute* "tests/testthat/test-styles.R"
- ((".*borders with office docs are sanitized.*" m)
- (string-append m "skip('skip');\n")))
- (substitute* "tests/testthat/test-text.R"
- ((".*pptx - string are html encoded.*" m)
- (string-append m "skip('skip');\n"))))))))
+ #:skipped-tests
+ ;; These all fail with: 'write_xml.xml_document(private$doc, file
+ ;; = private$filename)`: Error closing file
+ '(("test-as_flextable.R"
+ "grouped data structure")
+ ("test-link.R"
+ "URL are preserved in pptx")
+ ("test-pptx-tables.R"
+ "(row height is valid|location is correct)")
+ ("test-rotations.R"
+ "pptx rotations")
+ ("test-styles.R"
+ "borders with office docs are sanitized")
+ ("test-text.R"
+ "pptx - string are html encoded"))))
(propagated-inputs
(list r-data-table
r-gdtools