Closed const-ae closed 1 year ago
Thanks Constantin. Good catch! So it looks like with matrixStats < 1.0.0, whether a function propagates the names or not (when called with useNames=NA
) is not a simple yes or no answer. It's more like a "it depends" kind of answer!
I'll make the correction today for colVars
/rowVars
, colSds
/rowSds
, and colWeightedMedians
/rowWeightedMedians
.
Done in MatrixGenerics 1.12.2 (see 29f77e7197a38df960fd39488327842ac7a65c06)
I just tried to make the released version of
sparseMatrixStats
compatible with the patched version ofMatrixGenerics
(v.1.12.1). I noticed that in some corner cases the behavior did change compared with the previous version 1.12.0For example,
colMeans
with acenter
argument used to return a named output:Created on 2023-06-09 with reprex v2.0.2
But now it doesn't have names anymore:
Created on 2023-06-09 with reprex v2.0.2
The same problem occurs for
colWeightedMedians