HenrikBengtsson / matrixStats

R package: Methods that Apply to Rows and Columns of Matrices (and to Vectors)
https://cran.r-project.org/package=matrixStats
202 stars 33 forks source link

CLEANUP: Remove validateIndices() from the public API(?) #213

Closed HenrikBengtsson closed 2 years ago

HenrikBengtsson commented 2 years ago

The matrixStats::validateIndices() does not really have to be exported. It is currently only used in package tests to validate the correctness of how we handle indices at the C level. Because of this, it could equally well be an internal function.

The safest is probably to go through a proper deprecation process: