CRAN Package Check Results for Package xml2

Last updated on 2025-08-20 12:48:46 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.3.8 10.27 36.50 46.77 ERROR
r-devel-linux-x86_64-fedora-clang 1.3.8 114.91 OK
r-devel-linux-x86_64-fedora-gcc 1.3.8 108.39 OK
r-devel-windows-x86_64 1.3.8 35.00 89.00 124.00 OK
r-patched-linux-x86_64 1.3.8 12.56 45.16 57.72 OK
r-release-linux-x86_64 1.3.8 11.62 45.30 56.92 OK
r-release-macos-arm64 1.3.8 43.00 OK
r-release-macos-x86_64 1.3.8 77.00 OK
r-release-windows-x86_64 1.3.8 31.00 82.00 113.00 OK
r-oldrel-macos-arm64 1.3.8 100.00 OK
r-oldrel-macos-x86_64 1.3.8 201.00 OK
r-oldrel-windows-x86_64 1.3.8 37.00 103.00 140.00 OK

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-devel-gcc/Work/PKGS/xml2.Rcheck/00install.out’ for details. * used C compiler: ‘gcc-15 (Debian 15.2.0-1) 15.2.0’ * used C++ compiler: ‘g++-15 (Debian 15.2.0-1) 15.2.0’ Flavor: r-devel-linux-x86_64-debian-gcc

Version: 1.3.8
Check: tests
Result: ERROR Running ‘testthat.R’ [5s/6s] 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-devel-linux-x86_64-debian-gcc