[R-pkg-team] Bug#955316: Besides missing xml2 there is another problem (Was: Bug#955316: r-cran-svglite autopkgtest fails: there is no package called 'xml2')
Andreas Tille
andreas at fam-tille.de
Sun Mar 29 21:18:52 BST 2020
Control: tags -1 help
On Sun, Mar 29, 2020 at 09:11:04PM +0200, Paul Gevers wrote:
> -- 1. Error: (unknown) (@test-colour.R#2)
> -------------------------------------
> there is no package called 'xml2'
> Backtrace:
> 1. base::library(xml2)
OK, this is fixed.
> -- 15. Error: symbol font family is 'Symbol' (@test-text-fonts.R#30)
However, this problem remains and once xml2 is added as Test-Depends
the test suite fails with:
...
> library(svglite)
>
> test_check("svglite")
-- 1. Error: symbol font family is 'Symbol' (@test-text-fonts.R#30) -----------
StartTag: invalid element name [68]
Backtrace:
1. svglite::xmlSVG(...)
3. xml2:::read_xml.character(plot)
4. xml2:::read_xml.raw(...)
5. xml2:::doc_parse_raw(...)
== testthat results ===========================================================
[ OK: 93 | SKIPPED: 5 | WARNINGS: 0 | FAILED: 1 ]
1. Error: symbol font family is 'Symbol' (@test-text-fonts.R#30)
...
I was hoping that adding
Depends: fonts-symbola
(as per Git[1]) would help but it does not change anything.
Any help is welcome
Andreas.
[1] https://salsa.debian.org/r-pkg-team/r-cran-svglite
--
http://fam-tille.de
More information about the R-pkg-team
mailing list