DelayedArray:::.test() calls BiocGenerics:::testPackage() which calls library("RUnit", quietly = TRUE). I Since RUnit is only a suggested package of BiocGenerics, I think this causes install.packages() on DelayedArray to fail picking up RUnit. This, in turn, causes automated reverse package dependency checks on DelayedArray to fail with:
ERROR
Running the tests in ‘tests/run_unitTests.R’ failed.
Last 13 lines of output:
The following objects are masked from 'package:matrixStats':
colMaxs, colMins, colRanges, rowMaxs, rowMins, rowRanges
The following objects are masked from 'package:base':
aperm, apply
[1] TRUE
> DelayedArray:::.test()
Error in library("RUnit", quietly = TRUE) :
there is no package called 'RUnit'
Calls: <Anonymous> -> <Anonymous> -> library
Execution halted
DelayedArray:::.test()
callsBiocGenerics:::testPackage()
which callslibrary("RUnit", quietly = TRUE)
. I Since RUnit is only a suggested package of BiocGenerics, I think this causesinstall.packages()
on DelayedArray to fail picking up RUnit. This, in turn, causes automated reverse package dependency checks on DelayedArray to fail with:I observe this when running revdep checks on matrixStats. Adding RUnit to Suggests should fix this.