[R-pkg-team] Bug#1035428: Test suite issues due to new upstream version of r-core in unstable (Was: r-cran-shiny: broken symlink: ...)

Nilesh Patra nilesh at nileshpatra.info
Tue May 16 14:55:15 BST 2023


Hi

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.

2. It makes a valid and strong case to use t-p-u (see here[5])
for such an upload, as it isn't a possibility to build against R in
testing.
You might want to ask release team about it, by filing a bug for
release.d.o pseudo-package and/or asking in #debian-release on OFTC.

I personally prefer "1" over 2 as it is less noise (and effort).

Let me know what you think.

> [1] https://ci.debian.net/data/autopkgtest/testing/amd64/r/r-cran-thematic/33619891/log.gz
> [2] https://ci.debian.net/data/autopkgtest/testing/amd64/r/r-cran-treescape/33619892/log.gz
> [3] https://ci.debian.net/data/autopkgtest/testing/amd64/r/r-cran-treespace/33619893/log.gz
> [4] https://tracker.debian.org/news/1429562/accepted-r-base-430-1-source-into-unstable/
[5] https://wiki.debian.org/TestingProposedUpdates

-- 
Best,
Nilesh
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/r-pkg-team/attachments/20230516/06437dcd/attachment.sig>


More information about the R-pkg-team mailing list