Found the following significant warnings:
  binCounts.c:25:81: warning: format '%d' expects argument of type 'int', but argument 2 has type 'R_xlen_t' {aka 'long long int'} [-Wformat=]
  binMeans.c:26:60: warning: format '%d' expects argument of type 'int', but argument 2 has type 'R_xlen_t' {aka 'long long int'} [-Wformat=]
  binMeans.c:26:66: warning: format '%d' expects argument of type 'int', but argument 3 has type 'R_xlen_t' {aka 'long long int'} [-Wformat=]
  binMeans.c:33:81: warning: format '%d' expects argument of type 'int', but argument 2 has type 'R_xlen_t' {aka 'long long int'} [-Wformat=]
  colOrderStats.c:58:47: warning: format '%d' expects argument of type 'int', but argument 2 has type 'R_xlen_t' {aka 'long long int'} [-Wformat=]
  indexByRow.c:30:68: warning: format '%d' expects argument of type 'int', but argument 2 has type 'R_xlen_t' {aka 'long long int'} [-Wformat=]
  indexByRow.c:32:62: warning: format '%d' expects argument of type 'int', but argument 2 has type 'R_xlen_t' {aka 'long long int'} [-Wformat=]
  indexByRow.c:32:66: warning: format '%d' expects argument of type 'int', but argument 3 has type 'R_xlen_t' {aka 'long long int'} [-Wformat=]
  indexByRow.c:69:93: warning: format '%d' expects argument of type 'int', but argument 4 has type 'double' [-Wformat=]
  rowOrderStats.c:58:47: warning: format '%d' expects argument of type 'int', but argument 2 has type 'R_xlen_t' {aka 'long long int'} [-Wformat=]
  weightedMean.c:26:60: warning: format '%d' expects argument of type 'int', but argument 2 has type 'R_xlen_t' {aka 'long long int'} [-Wformat=]
  weightedMean.c:26:66: warning: format '%d' expects argument of type 'int', but argument 3 has type 'R_xlen_t' {aka 'long long int'} [-Wformat=]
  weightedMedian.c:26:60: warning: format '%d' expects argument of type 'int', but argument 2 has type 'R_xlen_t' {aka 'long long int'} [-Wformat=]
  weightedMedian.c:26:66: warning: format '%d' expects argument of type 'int', but argument 3 has type 'R_xlen_t' {aka 'long long int'} [-Wformat=]
See 'd:/Rcompile/CRANpkg/local/4.4/matrixStats.Rcheck/00install.out' for details.
* used C compiler: 'gcc.exe (GCC) 12.3.0'