Since matrixStats 1.0.0 (2023-06-02), useNames = TRUE is the new default. For legacy reasons, and backward compatible reasons, the default used to be useNames = NA. However, no one should use useNames = NA going forward; it's already deprecated, e.g.
> x <- matrix(rnorm(20), nrow = 5, ncol = 4)
> y <- rowMedians(x, useNames = NA)
Warning message:
useNames = NA is deprecated. Instead, specify either useNames = TRUE or useNames = TRUE.
Everyone should either use useNames = TRUE or useNames = FALSE.
Action
Next, matrixStats should:
[x] make useNames = NA defunct on R-devel (>= 4.4.0)
[ ] make useNames = NA defunct on R 4.3
Because several core packages in Bioconductor release version 3.17 (2023-04-26 -- 2023-10-24) still use useNames = NA to preserve their API, we need to wait until the next Bioconductor release cycle on October 25, 2023 to make it defunct.
Since matrixStats 1.0.0 (2023-06-02),
useNames = TRUE
is the new default. For legacy reasons, and backward compatible reasons, the default used to beuseNames = NA
. However, no one should useuseNames = NA
going forward; it's already deprecated, e.g.Everyone should either use
useNames = TRUE
oruseNames = FALSE
.Action
Next, matrixStats should:
useNames = NA
defunct on R-devel (>= 4.4.0)useNames = NA
defunct on R 4.3Because several core packages in Bioconductor release version 3.17 (2023-04-26 -- 2023-10-24) still use
useNames = NA
to preserve their API, we need to wait until the next Bioconductor release cycle on October 25, 2023 to make it defunct.