[R-pkg-team] Bug#955316: r-cran-svglite autopkgtest fails: there is no package called 'xml2'

Paul Gevers elbrus at debian.org
Sun Mar 29 20:11:04 BST 2020


Source: r-cran-svglite
Version: 1.2.3-1
Severity: serious
X-Debbugs-CC: debian-ci at lists.debian.org
User: debian-ci at lists.debian.org
Usertags: always-fail

Dear maintainer(s),

Your package has an autopkgtest, great. However, it fails.

I copied a piece from the log below.

Paul

https://ci.debian.net/data/autopkgtest/testing/amd64/r/r-cran-svglite/4737512/log.gz

autopkgtest [13:47:37]: test run-unit-test: [-----------------------
BEGIN TEST 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: (unknown) (@test-colour.R#2)
-------------------------------------
there is no package called 'xml2'
Backtrace:
 1. base::library(xml2)

-- 2. Error: (unknown) (@test-devSVG.R#2)
-------------------------------------
there is no package called 'xml2'
Backtrace:
 1. base::library(xml2)

-- 3. Error: (unknown) (@test-lines.R#2)
--------------------------------------
there is no package called 'xml2'
Backtrace:
 1. base::library(xml2)

-- 4. Failure: intermediate outputs are always valid svg
(@test-output.R#30)  --
`xml2::read_xml(path)` threw an error.
Message: there is no package called 'xml2'
Class:   packageNotFoundError/error/condition
Backtrace:
  1. svglite:::expect_valid_svg()
  7. xml2::read_xml
  8. base::getExportedValue(pkg, name)
  9. base::asNamespace(ns)
 10. base::getNamespace(ns)
 11. base::loadNamespace(name)
 12. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
 13. base:::withOneRestart(expr, restarts[[1L]])
 14. base:::doWithOneRestart(return(expr), restart)

-- 5. Failure: intermediate outputs are always valid svg
(@test-output.R#33)  --
`xml2::read_xml(path)` threw an error.
Message: there is no package called 'xml2'
Class:   packageNotFoundError/error/condition
Backtrace:
  1. svglite:::expect_valid_svg()
  7. xml2::read_xml
  8. base::getExportedValue(pkg, name)
  9. base::asNamespace(ns)
 10. base::getNamespace(ns)
 11. base::loadNamespace(name)
 12. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
 13. base:::withOneRestart(expr, restarts[[1L]])
 14. base:::doWithOneRestart(return(expr), restart)

-- 6. Failure: intermediate outputs are always valid svg
(@test-output.R#36)  --
`xml2::read_xml(path)` threw an error.
Message: there is no package called 'xml2'
Class:   packageNotFoundError/error/condition
Backtrace:
  1. svglite:::expect_valid_svg()
  7. xml2::read_xml
  8. base::getExportedValue(pkg, name)
  9. base::asNamespace(ns)
 10. base::getNamespace(ns)
 11. base::loadNamespace(name)
 12. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
 13. base:::withOneRestart(expr, restarts[[1L]])
 14. base:::doWithOneRestart(return(expr), restart)

-- 7. Failure: intermediate outputs are always valid svg
(@test-output.R#39)  --
`xml2::read_xml(path)` threw an error.
Message: there is no package called 'xml2'
Class:   packageNotFoundError/error/condition
Backtrace:
  1. svglite:::expect_valid_svg()
  7. xml2::read_xml
  8. base::getExportedValue(pkg, name)
  9. base::asNamespace(ns)
 10. base::getNamespace(ns)
 11. base::loadNamespace(name)
 12. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
 13. base:::withOneRestart(expr, restarts[[1L]])
 14. base:::doWithOneRestart(return(expr), restart)

-- 8. Error: (unknown) (@test-path.R#2)
---------------------------------------
there is no package called 'xml2'
Backtrace:
 1. base::library(xml2)

-- 9. Error: (unknown) (@test-points.R#2)
-------------------------------------
there is no package called 'xml2'
Backtrace:
 1. base::library(xml2)

-- 10. Error: (unknown) (@test-raster.R#2)
------------------------------------
there is no package called 'xml2'
Backtrace:
 1. base::library(xml2)

-- 11. Error: (unknown) (@test-rect.R#2)
--------------------------------------
there is no package called 'xml2'
Backtrace:
 1. base::library(xml2)

-- 12. Error: lwd has correct dimensions (@test-scale.R#29)
-------------------
there is no package called 'xml2'
Backtrace:
 1. svglite::xmlSVG(...)
 2. xml2::read_xml
 3. base::getExportedValue(pkg, name)
 4. base::asNamespace(ns)
 5. base::getNamespace(ns)
 6. base::loadNamespace(name)
 7. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
 8. base:::withOneRestart(expr, restarts[[1L]])
 9. base:::doWithOneRestart(return(expr), restart)

-- 13. Error: font sets weight/style (@test-text-fonts.R#5)
-------------------
there is no package called 'xml2'
Backtrace:
 1. svglite::xmlSVG(...)
 2. xml2::read_xml
 3. base::getExportedValue(pkg, name)
 4. base::asNamespace(ns)
 5. base::getNamespace(ns)
 6. base::loadNamespace(name)
 7. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
 8. base:::withOneRestart(expr, restarts[[1L]])
 9. base:::doWithOneRestart(return(expr), restart)

-- 14. Error: metrics are computed for different weight/style
(@test-text-fonts.
there is no package called 'xml2'
Backtrace:
 1. svglite::xmlSVG(...)
 2. xml2::read_xml
 3. base::getExportedValue(pkg, name)
 4. base::asNamespace(ns)
 5. base::getNamespace(ns)
 6. base::loadNamespace(name)
 7. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
 8. base:::withOneRestart(expr, restarts[[1L]])
 9. base:::doWithOneRestart(return(expr), restart)

-- 15. Error: symbol font family is 'Symbol' (@test-text-fonts.R#30)
----------
there is no package called 'xml2'
Backtrace:
 1. svglite::xmlSVG(...)
 2. xml2::read_xml
 3. base::getExportedValue(pkg, name)
 4. base::asNamespace(ns)
 5. base::getNamespace(ns)
 6. base::loadNamespace(name)
 7. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
 8. base:::withOneRestart(expr, restarts[[1L]])
 9. base:::doWithOneRestart(return(expr), restart)

-- 16. Error: fonts are aliased (@test-text-fonts.R#45)
-----------------------
there is no package called 'xml2'
Backtrace:
 1. svglite::xmlSVG(...)
 2. xml2::read_xml
 3. base::getExportedValue(pkg, name)
 4. base::asNamespace(ns)
 5. base::getNamespace(ns)
 6. base::loadNamespace(name)
 7. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
 8. base:::withOneRestart(expr, restarts[[1L]])
 9. base:::doWithOneRestart(return(expr), restart)

-- 17. Error: metrics are computed for different fonts
(@test-text-fonts.R#63)
there is no package called 'xml2'
Backtrace:
 1. svglite::xmlSVG(...)
 2. xml2::read_xml
 3. base::getExportedValue(pkg, name)
 4. base::asNamespace(ns)
 5. base::getNamespace(ns)
 6. base::loadNamespace(name)
 7. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
 8. base:::withOneRestart(expr, restarts[[1L]])
 9. base:::doWithOneRestart(return(expr), restart)

-- 18. Error: unicode characters in plotmath are handled
(@test-text-fonts.R#80)
there is no package called 'xml2'
Backtrace:
 1. svglite::xmlSVG(...)
 2. xml2::read_xml
 3. base::getExportedValue(pkg, name)
 4. base::asNamespace(ns)
 5. base::getNamespace(ns)
 6. base::loadNamespace(name)
 7. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
 8. base:::withOneRestart(expr, restarts[[1L]])
 9. base:::doWithOneRestart(return(expr), restart)

-- 19. Error: (unknown) (@test-text.R#2)
--------------------------------------
there is no package called 'xml2'
Backtrace:
 1. base::library(xml2)

== testthat results
===========================================================
[ OK: 3 | SKIPPED: 3 | WARNINGS: 4 | FAILED: 19 ]
1. Error: (unknown) (@test-colour.R#2)
2. Error: (unknown) (@test-devSVG.R#2)
3. Error: (unknown) (@test-lines.R#2)
4. Failure: intermediate outputs are always valid svg (@test-output.R#30)
5. Failure: intermediate outputs are always valid svg (@test-output.R#33)
6. Failure: intermediate outputs are always valid svg (@test-output.R#36)
7. Failure: intermediate outputs are always valid svg (@test-output.R#39)
8. Error: (unknown) (@test-path.R#2)
9. Error: (unknown) (@test-points.R#2)
1. ...

Error: testthat unit tests failed
Execution halted
autopkgtest [13:47:39]: test run-unit-test: -----------------------]


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/r-pkg-team/attachments/20200329/ad8c4636/attachment-0001.sig>


More information about the R-pkg-team mailing list