Package: src:r-cran-xml2
Version: 1.3.8-1
Tags: ftbfs sid forky
User: debian-xml-sgml-p...@lists.alioth.debian.org
Usertags: libxml2.14
[this bug is NOT targeted to the upcoming trixie release]
most likely needs an adjustment of the test case.
[...]
199s autopkgtest [03:51:02]: test run-unit-test: [-----------------------
199s BEGIN TEST testthat.R
199s
199s R version 4.5.0 (2025-04-11) -- "How About a Twenty-Six"
199s Copyright (C) 2025 The R Foundation for Statistical Computing
199s Platform: x86_64-pc-linux-gnu
199s
199s R is free software and comes with ABSOLUTELY NO WARRANTY.
199s You are welcome to redistribute it under certain conditions.
199s Type 'license()' or 'licence()' for distribution details.
199s
199s R is a collaborative project with many contributors.
199s Type 'contributors()' for more information and
199s 'citation()' on how to cite R or R packages in publications.
199s
199s Type 'demo()' for some demos, 'help()' for on-line help, or
199s 'help.start()' for an HTML browser interface to help.
199s Type 'q()' to quit R.
199s
199s > # This file is part of the standard setup for testthat.
199s > # It is recommended that you do not modify it.
199s > #
199s > # Where should you do additional test configuration?
199s > # Learn more about the roles of various files in:
199s > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
199s > # * https://testthat.r-lib.org/articles/special-files.html
199s >
199s > library(testthat)
199s > library(xml2)
199s >
199s > is_solaris <- tolower(Sys.info()[["sysname"]]) == "sunos"
199s >
199s > if (!is_solaris) {
199s + test_check("xml2")
199s + }
199s This is libxml2 version 2.14.3
202s [ FAIL 1 | WARN 0 | SKIP 21 | PASS 372 ]
202s
202s ══ Skipped tests (21)
══════════════════════════════════════════════════════════
203s • how to test error with `check_installed()`? (1):
'test-xml_parse.R:2:3'
203s • httpbin is unreliable (2): 'test-xml_parse.R:68:3',
'test-xml_parse.R:77:3'
203s • libxml2-dependent (1): 'test-xml_url.R:15:3'
203s • On CRAN (17): 'test-xml_attr.R:103:3', 'test-xml_children.R:14:3',
203s 'test-xml_document.R:4:3', 'test-xml_find.R:65:3',
'test-xml_find.R:91:3',
203s 'test-xml_find.R:109:3', 'test-xml_find.R:137:3',
'test-xml_name.R:32:3',
203s 'test-xml_node.R:4:3', 'test-xml_nodeset.R:79:3',
'test-xml_parse.R:12:3',
203s 'test-xml_parse.R:34:3', 'test-xml_parse.R:109:3',
203s 'test-xml_structure.R:35:3', 'test-xml_write.R:6:3',
'test-xml_write.R:78:3',
203s 'test-xml_write.R:96:3'
203s
203s ══ Failed tests
════════════════════════════════════════════════════════════════
203s ── Failure ('test-xml_parse.R:54:3'): read_html properly passes
parser arguments ──
203s as_list(blanks)$html$body$catalog$cd[[1]] (`actual`) not equal to
"\r\n " (`expected`).
203s
203s `lines(actual)`: "" " "
203s `lines(expected)`: "\r" " "
203s
203s [ FAIL 1 | WARN 0 | SKIP 21 | PASS 372 ]
203s Error: Test failures
203s Execution halted
203s autopkgtest [03:51:06]: test run-unit-test: -----------------------]