proposed migration r-cran-withr 3.0.0+dfsg-1 vs r-cran-dials 1.2.0-2
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
r-cran-dials (Debian) |
Fix Released
|
Unknown
|
|||
r-cran-dials (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
r-cran-withr (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
The autopkgtest fails with the following error[1]
88s autopkgtest [11:32:09]: test run-unit-test: [------
89s BEGIN TEST testthat.R
89s
89s R version 4.4.1 (2024-06-14) -- "Race for Your Life"
89s Copyright (C) 2024 The R Foundation for Statistical Computing
89s Platform: x86_64-pc-linux-gnu
89s
89s R is free software and comes with ABSOLUTELY NO WARRANTY.
89s You are welcome to redistribute it under certain conditions.
89s Type 'license()' or 'licence()' for distribution details.
89s
89s R is a collaborative project with many contributors.
89s Type 'contributors()' for more information and
89s 'citation()' on how to cite R or R packages in publications.
89s
89s Type 'demo()' for some demos, 'help()' for on-line help, or
89s 'help.start()' for an HTML browser interface to help.
89s Type 'q()' to quit R.
89s
89s > library(testthat)
89s > library(dials)
89s Loading required package: scales
89s >
89s > if (requireNamespa
89s + test_check("dials", reporter = MultiReporter$
89s + } else {
89s + test_check("dials")
89s + }
89s Loading required namespace: xml2
89s Error in UseMethod(
89s no applicable method for 'xml_add_child' applied to an object of class "NULL"
89s Calls: test_check ... o_apply -> lapply -> FUN -> <Anonymous> -> <Anonymous>
89s Execution halted
90s autopkgtest [11:32:11]: test run-unit-test: -------
90s run-unit-test FAIL non-zero exit status 1
tags: | added: update-excuse |
Changed in r-cran-dials (Debian): | |
status: | Unknown → Fix Committed |
Changed in r-cran-dials (Debian): | |
status: | Fix Committed → Fix Released |
The error is caused by the usage of JunitReporter:
junit = JunitReporter$ new(file = "test-results.xml")
test_check("dials", reporter = junit)
Results in
Error in UseMethod( "xml_add_ child") :
no applicable method for 'xml_add_child' applied to an object of class "NULL"