proposed migration r-cran-withr 3.0.0+dfsg-1 vs r-cran-dials 1.2.0-2

Bug #2072806 reported by Vladimir Petko
6
This bug affects 1 person
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 (requireNamespace("xml2")) {
 89s + test_check("dials", reporter = MultiReporter$new(reporters = list(JunitReporter$new(file = "test-results.xml"), CheckReporter$new())))
 89s + } else {
 89s + test_check("dials")
 89s + }
 89s Loading required namespace: xml2
 89s Error in UseMethod("xml_add_child") :
 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

[1] https://objectstorage.prodstack5.canonical.com/swift/v1/AUTH_0f9aae918d5b4744bf7b827671c86842/autopkgtest-oracular/oracular/amd64/r/r-cran-dials/20240616_113414_97ba1@/log.gz

Vladimir Petko (vpa1977)
tags: added: update-excuse
Revision history for this message
Vladimir Petko (vpa1977) wrote :

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"

Changed in r-cran-dials (Debian):
status: Unknown → Fix Committed
Changed in r-cran-dials (Debian):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.