[R-pkg-team] Bug#1035428: Test suite issues due to new upstream version of r-core in unstable (Was: r-cran-shiny: broken symlink: ...)
Dirk Eddelbuettel
edd at debian.org
Tue May 16 15:10:37 BST 2023
On 16 May 2023 at 19:25, Nilesh Patra wrote:
| On Tue, May 16, 2023 at 03:01:10PM +0200, Andreas Tille wrote:
| > when fixing bug #1035428 I realised test suite issues with
| >
| > r-cran-thematic [1]
| > -> Error in `svglite_(filename, bg, width, height, pointsize, standalone,
| > always_valid)`: Graphics API version mismatch
| >
| > r-cran-treescape [2]
| > r-cran-treespace [3]
| > -> error is given if lambda is outside of [0,1] ---
| > `medTree(trees, -1)` did not throw an error.
| >
| > As far as I can guess at least the first type of error (Graphics API
| > version mismatch) is caused by the fact that a new upstream version of
| > r-base (4.3.0-1) was uploaded to unstable (changelog[4] says to
| > experimental so it seems by accident).
|
| I can think of two ways:
|
| 1. r-cran-shiny is an arch:all package, so the package itself being
| built against r-base 4.3.0 is not an issue. The issue is the
| "r-base-core (>= 4.3.0-1)" that dh-r injects, which is being pulled in
| the autopkgtests of its reverse-depends.
| Changing that to "r-base-core (>= 4.2.2.20221110-2)" manually should do
| the trick.
|
| Something on the lines of:
|
| override_dh_gencontrol:
| dh_gencontrol
| sed "s/r-base-core (>= 4.3.0-1)/r-base-core (>= 4.2.2.20221110-2)" -i debian/r-cran-shiny/DEBIAN/control
|
| Ofcourse, the hard-coding of 4.3.0-1 can be converted to some better
| regular expression.
Nice catch and suggestion!
On 16 May 2023 at 19:27, Nilesh Patra wrote:
| On Tue, May 16, 2023 at 08:26:21AM -0500, Dirk Eddelbuettel wrote:
| > Note that none of this affects the release. My recommendation is temporarily
| > suspend the autopkgtest in those affected packages.
|
| No, don't do that as they indicate a new r-base being pulled as one of
| the dependencies (which would be incorrect for a package). In this case,
| r-cran-shiny has a hard-dependency on r-base.
|
| Once that is fixed, rest of the things should be sorted out.
I agree. Thanks for pointing that out.
Dirk
--
dirk.eddelbuettel.com | @eddelbuettel | edd at debian.org
More information about the R-pkg-team
mailing list