-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
'useNames = TRUE' is the new default in matrixStats v1.0.0 #31
Comments
The new behaviour is more inline with
I guess that would work. I'd be more confortable though if we didn't touch
That way the argument list of the generics doesn't change and remains in sync with the argument list of all the methods in sparseMatrixStats, SparseArray, DelayedArray, and DelayedMatrixStats. H. |
I like that idea. I have already started to implement the new default in |
In the beginning, matrixStats didn't control for names attributes, so we got whatever the implementation happened to output (yet there were packages depending on it). In 2021, we ran a GSoC project for adding support for There is no need for you to keep supporting |
I see. That means that in order to prevent disruption in release, we can't just blindly replace |
@const-ae I will give this a try unless you already started to work on it? |
Go ahead, I am currently just barely staying afloat as I am finishing up my PhD thesis 😅 |
Exciting times! I suppose you don't need this kind of distraction to keep you entertained 😉 |
ok so it looks like most functions did NOT propagate the names in matrixStats 0.63.0 Keeping track of this here for reference:
|
Modify calls to matrixStats functions to mitigate non-backward comptible changes in matrixStats 1.0.0. More precisely: - 'useNames=NA' became deprecated in matrixStats 1.0.0 so we make sure to never pass 'useNames=NA' when calling a matrixStats function; - furthermore, we make sure to pass a 'useNames' value that preserves the pre-matrixStats 1.0.0 behavior in order to avoid disruption. See #31 for a discussion of these changes.
@PeteHaitch @const-ae If you guys want to take a look at this before I merge: #32 This is a PR against the I'll start working on a PR against the |
All generic functions and methods defined in MatrixGenerics now set the 'useNames' argument to TRUE instead of NA by default. See #31 for a discussion of this change.
And here is the proposed changes for the devel version: #33 |
Modify calls to matrixStats functions to mitigate non-backward comptible changes in matrixStats 1.0.0. More precisely: - 'useNames=NA' became deprecated in matrixStats 1.0.0 so we make sure to never pass 'useNames=NA' when calling a matrixStats function; - furthermore, we make sure to pass a 'useNames' value that preserves the pre-matrixStats 1.0.0 behavior in order to avoid disruption. See #31 for a discussion of these changes.
All generic functions and methods defined in MatrixGenerics now set the 'useNames' argument to TRUE instead of NA by default. See #31 for a discussion of this change.
MatrixGenerics (along with DelayedMatrixStats and sparseMatrixStats) has now been updated in both the release (3.17) and devel (3.18) branches of Bioconductor to handle this change. |
matrixStats
v1.0.0 was just published on CRAN (HenrikBengtsson/matrixStats#232). The main change is that the old defaultuseNames = NA
is now deprecated and the new defaultuseNames = TRUE
.I wonder if we should patch the current release version to use
useNames = FALSE
because that avoids deprecation warnings and won't change the behavior all of a sudden. And then with the next Bioconductor release change the default touseNames = TRUE
The text was updated successfully, but these errors were encountered: