-
Notifications
You must be signed in to change notification settings - Fork 84
Closed
Description
Debian noticed that the autopkg tests (a type of CI used for repo-wide reverse dependency checks) fail for package xml when libxml2 2.15 is used -- and this now blocks the passage of libxml2 to testing. This is in bug report 1119020 which mistakenly landed in my lap as the difference between CRAN packages XML (which I maintain) and xml2 (this one) was overlooked.
As for the bug, from the console log I can replicate in the rocker/r-base container with libxml2-dev from unstable, it appears one expectation needs an update:
* checking tests ...
Running ‘testthat.R’
ERROR
Running the tests in ‘tests/testthat.R’ failed.
Last 13 lines of output:
── Failure ('test-xml_write.R:127:3'): write_html work with html input ─────────
readChar(file, 1000L) (`actual`) not identical to "<!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.0 Transitional//EN\" \"http://www.w3.org/TR/REC-html40/loose.dtd\">\n<html><head>\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\">\n<title>Foo</title>\n</head></html>\n" (`expected`).
lines(actual) vs lines(expected)
"<!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.0 Transitional//EN\" \"http://www.w3.org/TR/REC-html40/loose.dtd\">"
"<html><head>"
- "<meta charset=\"UTF-8\">"
+ "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\">"
"<title>Foo</title>"
"</head></html>"
""
[ FAIL 1 | WARN 0 | SKIP 21 | PASS 373 ]
Error: Test failures
Execution halted
* checking for unstated dependencies in vignettes ... OKIt would be lovely if this could be taken care of.
Metadata
Metadata
Assignees
Labels
No labels