Re: How to sneak in Test-Depends like r-cran-testthat into automated testing for BioC packages
On Wed, Sep 01, 2021 at 08:58:45PM +0530, Nilesh Patra wrote:
>
> We have the salsa CI results, and it's clear that testthat is getting
> loaded now as opposed to the last CI.
>
> https://salsa.debian.org/r-pkg-team/r-bioc-tximport/-/jobs/1897039
Good to know. I wonder whether this is the case for RUnit using
packages as well.
> The new error fails because it does not have tximportData.
> Fixing this should be straightforward as well, provided we have it in the
> archive.
> Can you do this?
It was in Salsa and I just fired up itp_from_debian_dir.
> If you are getting the same error locally, then your likely need to update
> your schroot, and install the latest versions of autodep8 and autopkgtest
> packages.
Updating ... checking later.
> And that said, the autopkgtests do not even install dependencies for me in
> the chroot, because some dependency of this package hasn't been built with
> bioc api 3.13 and that looks legit to me.
Yes, that's fine. We have some Test-Depends from packages that need the
package to test as dependency. So the chain of Test-Depends will be
temporarily broken.
> I'm a bit surprised that both salsa CI and your build environment are able
> to satisfy deps.
It depends what package is affected. I had local autopkgtest issues due
to this that were also on Salsa. But I was worried about the RUnit and
testthat issue.
> Either the images at both are not the latest, or the error is sitting in
> front of my screen not very sure.
We'll see.
Kind regards
Andreas.
--
http://fam-tille.de
Reply to: