[R-pkg-team] Bug#955316: r-cran-svglite autopkgtest fails: Error: symbol font

Thomas Pedersen thomas.pedersen at rstudio.com
Fri Apr 17 16:45:44 BST 2020


I’ll look into it in the coming week

Best
Thomas

> Den 17. apr. 2020 kl. 17.38 skrev Lionel Henry <lionel at rstudio.com>:
> 
> Hello.
> 
> Sorry I don't have any hints.
> By the way Thomas Lin Pedersen (cc'd) is now the maintainer of svglite.
> 
> Best,
> Lionel
> 
>> On 4/17/20, Andreas Tille <andreas at an3as.eu> wrote:
>> Control: tags -1 upstream
>> Control: forwarded -1 Lionel Henry <lionel at rstudio.com>
>> Control: tags -1 help
>> 
>> Hi Lionel,
>> 
>> the Debian packaged version of svglite received a bug report[1] about a
>> failing test.
>> 
>> I can reproduce this by:
>> 
>> 
>> r-cran-svglite/tests(master) $ LC_ALL=C R --no-save < testthat.R
>> 
>> R version 3.6.3 (2020-02-29) -- "Holding the Windsock"
>> Copyright (C) 2020 The R Foundation for Statistical Computing
>> Platform: x86_64-pc-linux-gnu (64-bit)
>> 
>> R is free software and comes with ABSOLUTELY NO WARRANTY.
>> You are welcome to redistribute it under certain conditions.
>> Type 'license()' or 'licence()' for distribution details.
>> 
>> R is a collaborative project with many contributors.
>> Type 'contributors()' for more information and
>> 'citation()' on how to cite R or R packages in publications.
>> 
>> Type 'demo()' for some demos, 'help()' for on-line help, or
>> 'help.start()' for an HTML browser interface to help.
>> Type 'q()' to quit R.
>> 
>>> library(testthat)
>>> 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(...)
>> 
>> == testthat results
>> ===========================================================
>> [ OK: 93 | SKIPPED: 5 | WARNINGS: 0 | FAILED: 1 ]
>> 1. Error: symbol font family is 'Symbol' (@test-text-fonts.R#30)
>> 
>> Error: testthat unit tests failed
>> Execution halted
>> 
>> 
>> 
>> Do you have any hint how to fix this test?  May be its some missing
>> font package we should add to the dependencies?
>> 
>> Kind regards
>> 
>>      Andreas.
>> 
>> 
>> [1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=955316#10
>> 
>> --
>> http://fam-tille.de
>> 



More information about the R-pkg-team mailing list