Closed LTLA closed 3 years ago
That is an unrelated error, due to the use of DelayedArray internals that have since changed their name:
The immediate fix is to change the line for DelayedDimnames
to DelayedArray:::new_DelayedSetDimnames
, but surely there is no need to poke around in DA internals to set up the appropriate objects here.
Upon applying this fix, I see further problems related to the formation of ddiMatrix
objects, see changes in Matrix 1.3-0:
x <- matrix(0,0,0)
x2 <- as(x, "Matrix")
x2[integer(0), integer(0)]
## Error in subCsp_ij(x, i, j, drop = drop) :
## Cholmod error 'invalid xtype' at file ../MatrixOps/cholmod_submatrix.c, line 103
I've notified Martin about this.
FWIW I've replaced the use of new_DelayedDimnames
with new_DelayedSetDimnames
in DelayedMatrixStats 1.13.2. With this one out of the way, the build report is now reporting the error related to the latest changes in Matrix (Cholmod error @...
): https://bioconductor.org/checkResults/3.13/bioc-LATEST/DelayedMatrixStats/malbec2-checksrc.html
That should be fixed as of Matrix 1.3-2, when it eventually hits the shelves; manual installation allows DMS check
to pass for me.
Matrix 1.3-2 now available on CRAN and starting to make its way to the Bioconductor build machines.
This occurs because
matrixStats::colQuantiles()
, for whatever reason, decides to return a vector instead of a 1-column matrix by default, which breaks the subsequentrbind()
. We should setdrop=FALSE
in the block processing and handle thedrop
argument in.DelayedMatrix_block_colQuantiles
ourselves (which, incidentally, is not done correctly right now either).