[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: r-cran-svglite autopkgtest fails: Error: symbol font



Control: tags -1 upstream
Control: forwarded -1 Lionel Henry <lionel@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


Reply to: