CRAN Package Check Results for Package xml2

Last updated on 2025-08-21 21:50:33 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.3.8 12.69 48.63 61.32 OK
r-devel-linux-x86_64-debian-gcc 1.4.0 9.96 36.47 46.43 OK
r-devel-linux-x86_64-fedora-clang 1.4.0 121.50 OK
r-devel-linux-x86_64-fedora-gcc 1.4.0 118.96 OK
r-devel-windows-x86_64 1.4.0 38.00 87.00 125.00 OK
r-patched-linux-x86_64 1.3.8 11.61 45.02 56.63 ERROR
r-release-linux-x86_64 1.3.8 11.62 45.30 56.92 OK
r-release-macos-arm64 1.4.0 130.00 OK
r-release-macos-x86_64 1.4.0 183.00 OK
r-release-windows-x86_64 1.3.8 31.00 87.00 118.00 OK
r-oldrel-macos-arm64 1.3.8 100.00 OK
r-oldrel-macos-x86_64 1.4.0 150.00 OK
r-oldrel-windows-x86_64 1.3.8 37.00 103.00 140.00 ERROR

Check Details

Version: 1.3.8
Check: whether package can be installed
Result: WARN Found the following significant warnings: xml2_doc.cpp:298:64: warning: ‘_xmlCharEncodingHandler::name’ is deprecated [-Wdeprecated-declarations] xml2_output.cpp:164:45: warning: ‘_xmlBuffer::content’ is deprecated [-Wdeprecated-declarations] xml2_output.cpp:238:57: warning: ‘_xmlBuffer::content’ is deprecated [-Wdeprecated-declarations] See ‘/home/hornik/tmp/R.check/r-patched-gcc/Work/PKGS/xml2.Rcheck/00install.out’ for details. * used C compiler: ‘gcc-14 (Debian 14.2.0-19) 14.2.0’ * used C++ compiler: ‘g++-14 (Debian 14.2.0-19) 14.2.0’ Flavor: r-patched-linux-x86_64

Version: 1.3.8
Check: tests
Result: ERROR Running ‘testthat.R’ [8s/11s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview > # * https://testthat.r-lib.org/articles/special-files.html > > library(testthat) > library(xml2) > > is_solaris <- tolower(Sys.info()[["sysname"]]) == "sunos" > > if (!is_solaris) { + test_check("xml2") + } This is libxml2 version 2.14.5 [ FAIL 1 | WARN 0 | SKIP 21 | PASS 372 ] ══ Skipped tests (21) ══════════════════════════════════════════════════════════ • On CRAN (17): 'test-xml_attr.R:103:3', 'test-xml_children.R:14:3', 'test-xml_document.R:4:3', 'test-xml_find.R:65:3', 'test-xml_find.R:91:3', 'test-xml_find.R:109:3', 'test-xml_find.R:137:3', 'test-xml_name.R:32:3', 'test-xml_node.R:4:3', 'test-xml_nodeset.R:79:3', 'test-xml_parse.R:12:3', 'test-xml_parse.R:34:3', 'test-xml_parse.R:109:3', 'test-xml_structure.R:35:3', 'test-xml_write.R:6:3', 'test-xml_write.R:78:3', 'test-xml_write.R:96:3' • how to test error with `check_installed()`? (1): 'test-xml_parse.R:2:3' • httpbin is unreliable (2): 'test-xml_parse.R:68:3', 'test-xml_parse.R:77:3' • libxml2-dependent (1): 'test-xml_url.R:15:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-xml_parse.R:54:3'): read_html properly passes parser arguments ── as_list(blanks)$html$body$catalog$cd[[1]] (`actual`) not equal to "\r\n " (`expected`). `lines(actual)`: "" " " `lines(expected)`: "\r" " " [ FAIL 1 | WARN 0 | SKIP 21 | PASS 372 ] Error: Test failures Execution halted Flavor: r-patched-linux-x86_64

Version: 1.3.8
Check: whether package can be installed
Result: ERROR Installation failed. Flavor: r-oldrel-windows-x86_64