-
Notifications
You must be signed in to change notification settings - Fork 34
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
Default 'useNames' argument - take 2 #232
Comments
* Update defaults * Update documentation * Start fixing unit tests
Hi Henrik, I started making Moved to Issue #234. |
Thanks for spotting this. Can you please repost this as a separate issue? |
UPDATE: I'm doing the last validations before submitting this new version to CRAN. |
matrixStats 1.0.0 is now on CRAN. |
Congrats :) |
Alright, I've listened, and I thought about it, and then I thought about it even more. I think it's okay to make:
useNames = TRUE
the new default.
Advantages:
colMeans()
,rowMeans()
,colSums()
,rowSums()
, andapply()
Disadvantages:
useNames = FALSE
(compared to everyone would know aboutuseNames = TRUE
if they need names)useNames = FALSE
But, as others tried to convince me in the past, the advantages outweight the disadvantages.
So, the new plan is to go with
useNames = TRUE
.FWIW, there are currently a few packages that will break when we make
useNames = TRUE
the default, cf. Issue #227. They have been informed several times already.The text was updated successfully, but these errors were encountered: