* installing *source* package 'arrangements' ... ** package 'arrangements' successfully unpacked and MD5 sums checked ** using staged installation ** libs using C compiler: 'gcc.exe (GCC) 12.3.0' make[1]: Entering directory '/d/temp/2024_11_22_01_50_01_16053/Rtmpe6YMSj/R.INSTALL2af0842444985/arrangements/src' gcc -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -pedantic -Wstrict-prototypes -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c arrangements.c -o arrangements.o arrangements.c: In function 'validate_n_value': arrangements.c:17:12: warning: variable 'k' set but not used [-Wunused-but-set-variable] 17 | int n, k; | ^ arrangements.c:27:12: warning: 'flen' may be used uninitialized [-Wmaybe-uninitialized] 27 | return Rf_ScalarInteger(n); | ^~~~~~~~~~~~~~~~~~~ arrangements.c:19:9: note: 'flen' was declared here 19 | int flen; | ^~~~ gcc -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -pedantic -Wstrict-prototypes -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c combinations.c -o combinations.o In file included from utils.h:6, from macros.h:4, from combinations.c:2: D:/RCompile/recent/R-4.3.3/include/Rinternals.h: In function 'next_ordinary_combinations': D:/RCompile/recent/R-4.3.3/include/Rinternals.h:368:25: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] 368 | #define PROTECT(s) Rf_protect(s) | ^~~~~~~~~~ In file included from combinations.c:5: combinations/combinations-ordinary.c:87:10: note: 'result' was declared here 87 | SEXP result; | ^~~~~~ combinations/combinations-ordinary.c:126:29: warning: 'maxd' may be used uninitialized [-Wmaybe-uninitialized] 126 | if (skip >= (int) maxd) { | ^~~~~~~~~~ combinations/combinations-ordinary.c:90:12: note: 'maxd' was declared here 90 | double maxd; | ^~~~ combinations/combinations-ordinary.c: In function 'draw_ordinary_combinations': combinations/combinations-ordinary.c:272:57: warning: 'index' may be used uninitialized [-Wmaybe-uninitialized] 272 | nth_ordinary_combination(ap, n, k, index[j] - 1); \ | ^ combinations/combinations-ordinary.c:255:14: note: 'index' was declared here 255 | int* index; | ^~~~~ combinations/combinations-ordinary.c:196:16: warning: 'index' may be used uninitialized [-Wmaybe-uninitialized] 196 | mpz_t* index; | ^~~~~ In file included from combinations.c:6: combinations/combinations-multiset.c: In function 'n_multiset_combinations': combinations/combinations-multiset.c:52:12: warning: 'ptemp' may be used uninitialized [-Wmaybe-uninitialized] 52 | double ptemp; | ^~~~~ D:/RCompile/recent/R-4.3.3/include/Rinternals.h: In function 'next_multiset_combinations': D:/RCompile/recent/R-4.3.3/include/Rinternals.h:368:25: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] 368 | #define PROTECT(s) Rf_protect(s) | ^~~~~~~~~~ combinations/combinations-multiset.c:188:10: note: 'result' was declared here 188 | SEXP result; | ^~~~~~ D:/RCompile/recent/R-4.3.3/include/Rinternals.h:368:25: warning: 'j' may be used uninitialized [-Wmaybe-uninitialized] 368 | #define PROTECT(s) Rf_protect(s) | ^~~~~~~~~~ combinations/combinations-multiset.c:185:12: note: 'j' was declared here 185 | int i, j, h; | ^ combinations/combinations-multiset.c:241:29: warning: 'maxd' may be used uninitialized [-Wmaybe-uninitialized] 241 | if (skip >= (int) maxd) { | ^~~~~~~~~~ combinations/combinations-multiset.c:194:12: note: 'maxd' was declared here 194 | double maxd; | ^~~~ combinations/combinations-multiset.c: In function 'draw_multiset_combinations': combinations/combinations-multiset.c:400:64: warning: 'index' may be used uninitialized [-Wmaybe-uninitialized] 400 | nth_multiset_combination(ap, fp, flen, k, index[j] - 1); \ | ^ combinations/combinations-multiset.c:383:14: note: 'index' was declared here 383 | int* index; | ^~~~~ combinations/combinations-multiset.c:324:16: warning: 'index' may be used uninitialized [-Wmaybe-uninitialized] 324 | mpz_t* index; | ^~~~~ D:/RCompile/recent/R-4.3.3/include/Rinternals.h: In function 'next_replacement_combinations': D:/RCompile/recent/R-4.3.3/include/Rinternals.h:368:25: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] 368 | #define PROTECT(s) Rf_protect(s) | ^~~~~~~~~~ In file included from combinations.c:7: combinations/combinations-replacement.c:84:10: note: 'result' was declared here 84 | SEXP result; | ^~~~~~ combinations/combinations-replacement.c:121:29: warning: 'maxd' may be used uninitialized [-Wmaybe-uninitialized] 121 | if (skip >= (int) maxd) { | ^~~~~~~~~~ combinations/combinations-replacement.c:87:12: note: 'maxd' was declared here 87 | double maxd; | ^~~~ combinations/combinations-replacement.c: In function 'draw_replacement_combinations': combinations/combinations-replacement.c:267:60: warning: 'index' may be used uninitialized [-Wmaybe-uninitialized] 267 | nth_replacement_combination(ap, n, k, index[j] - 1); \ | ^ combinations/combinations-replacement.c:250:14: note: 'index' was declared here 250 | int* index; | ^~~~~ combinations/combinations-replacement.c:191:16: warning: 'index' may be used uninitialized [-Wmaybe-uninitialized] 191 | mpz_t* index; | ^~~~~ combinations.c: In function 'ncombinations': combinations.c:37:13: warning: 'flen' may be used uninitialized [-Wmaybe-uninitialized] 37 | n_multiset_combinations_bigz(z, fp, flen, k); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ combinations.c:20:9: note: 'flen' was declared here 20 | int flen; | ^~~~ combinations.c:19:10: warning: 'fp' may be used uninitialized [-Wmaybe-uninitialized] 19 | int* fp; | ^~ combinations.c: In function 'get_combinations': combinations.c:117:19: warning: 'flen' may be used uninitialized [-Wmaybe-uninitialized] 117 | ans = draw_multiset_combinations(fp, flen, k, _v, layout, _index, _nsample); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ combinations.c:74:9: note: 'flen' was declared here 74 | int flen; | ^~~~ combinations.c:117:19: warning: 'fp' may be used uninitialized [-Wmaybe-uninitialized] 117 | ans = draw_multiset_combinations(fp, flen, k, _v, layout, _index, _nsample); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ combinations.c:73:10: note: 'fp' was declared here 73 | int* fp; | ^~ gcc -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -pedantic -Wstrict-prototypes -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c compositions.c -o compositions.o In file included from utils.h:6, from compositions.c:2: D:/RCompile/recent/R-4.3.3/include/Rinternals.h: In function 'next_asc_compositions': D:/RCompile/recent/R-4.3.3/include/Rinternals.h:368:25: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] 368 | #define PROTECT(s) Rf_protect(s) | ^~~~~~~~~~ In file included from compositions.c:4: compositions/compositions-asc.c:93:10: note: 'result' was declared here 93 | SEXP result; | ^~~~~~ compositions/compositions-asc.c:131:29: warning: 'maxd' may be used uninitialized [-Wmaybe-uninitialized] 131 | if (skip >= (int) maxd) { | ^~~~~~~~~~ compositions/compositions-asc.c:96:12: note: 'maxd' was declared here 96 | double maxd; | ^~~~ compositions/compositions-asc.c: In function 'draw_asc_compositions': compositions/compositions-asc.c:203:16: warning: 'index' may be used uninitialized [-Wmaybe-uninitialized] 203 | mpz_t* index; | ^~~~~ D:/RCompile/recent/R-4.3.3/include/Rinternals.h: In function 'next_desc_compositions': D:/RCompile/recent/R-4.3.3/include/Rinternals.h:368:25: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] 368 | #define PROTECT(s) Rf_protect(s) | ^~~~~~~~~~ In file included from compositions.c:5: compositions/compositions-desc.c:91:10: note: 'result' was declared here 91 | SEXP result; | ^~~~~~ compositions/compositions-desc.c:130:29: warning: 'maxd' may be used uninitialized [-Wmaybe-uninitialized] 130 | if (skip >= (int) maxd) { | ^~~~~~~~~~ compositions/compositions-desc.c:94:12: note: 'maxd' was declared here 94 | double maxd; | ^~~~ compositions/compositions-desc.c: In function 'draw_desc_compositions': compositions/compositions-desc.c:202:16: warning: 'index' may be used uninitialized [-Wmaybe-uninitialized] 202 | mpz_t* index; | ^~~~~ In file included from compositions.c:6: compositions/compositions-asc-k.c: In function 'next_asc_k_composition': compositions/compositions-asc-k.c:26:19: warning: 'a' may be used uninitialized [-Wmaybe-uninitialized] 26 | ar[k - 1] = a - 1; | ~~^~~ compositions/compositions-asc-k.c:13:18: note: 'a' was declared here 13 | unsigned int a; | ^ D:/RCompile/recent/R-4.3.3/include/Rinternals.h: In function 'next_asc_k_compositions': D:/RCompile/recent/R-4.3.3/include/Rinternals.h:368:25: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] 368 | #define PROTECT(s) Rf_protect(s) | ^~~~~~~~~~ compositions/compositions-asc-k.c:81:10: note: 'result' was declared here 81 | SEXP result; | ^~~~~~ compositions/compositions-asc-k.c:119:29: warning: 'maxd' may be used uninitialized [-Wmaybe-uninitialized] 119 | if (skip >= (int) maxd) { | ^~~~~~~~~~ compositions/compositions-asc-k.c:84:12: note: 'maxd' was declared here 84 | double maxd; | ^~~~ compositions/compositions-asc-k.c: In function 'draw_asc_k_compositions': compositions/compositions-asc-k.c:176:16: warning: 'index' may be used uninitialized [-Wmaybe-uninitialized] 176 | mpz_t* index; | ^~~~~ D:/RCompile/recent/R-4.3.3/include/Rinternals.h: In function 'next_desc_k_compositions': D:/RCompile/recent/R-4.3.3/include/Rinternals.h:368:25: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] 368 | #define PROTECT(s) Rf_protect(s) | ^~~~~~~~~~ In file included from compositions.c:7: compositions/compositions-desc-k.c:90:10: note: 'result' was declared here 90 | SEXP result; | ^~~~~~ compositions/compositions-desc-k.c:130:29: warning: 'maxd' may be used uninitialized [-Wmaybe-uninitialized] 130 | if (skip >= (int) maxd) { | ^~~~~~~~~~ compositions/compositions-desc-k.c:93:12: note: 'maxd' was declared here 93 | double maxd; | ^~~~ compositions/compositions-desc-k.c: In function 'draw_desc_k_compositions': compositions/compositions-desc-k.c:202:16: warning: 'index' may be used uninitialized [-Wmaybe-uninitialized] 202 | mpz_t* index; | ^~~~~ gcc -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -pedantic -Wstrict-prototypes -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c math.c -o math.o gcc -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -pedantic -Wstrict-prototypes -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c partitions.c -o partitions.o In file included from utils.h:6, from partitions.c:3: D:/RCompile/recent/R-4.3.3/include/Rinternals.h: In function 'next_asc_partitions': D:/RCompile/recent/R-4.3.3/include/Rinternals.h:368:25: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] 368 | #define PROTECT(s) Rf_protect(s) | ^~~~~~~~~~ In file included from partitions.c:5: partitions/partitions-asc.c:105:10: note: 'result' was declared here 105 | SEXP result; | ^~~~~~ partitions/partitions-asc.c:143:29: warning: 'maxd' may be used uninitialized [-Wmaybe-uninitialized] 143 | if (skip >= (int) maxd) { | ^~~~~~~~~~ partitions/partitions-asc.c:108:12: note: 'maxd' was declared here 108 | double maxd; | ^~~~ partitions/partitions-asc.c: In function 'draw_asc_partitions': partitions/partitions-asc.c:215:16: warning: 'index' may be used uninitialized [-Wmaybe-uninitialized] 215 | mpz_t* index; | ^~~~~ D:/RCompile/recent/R-4.3.3/include/Rinternals.h: In function 'next_desc_partitions': D:/RCompile/recent/R-4.3.3/include/Rinternals.h:368:25: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] 368 | #define PROTECT(s) Rf_protect(s) | ^~~~~~~~~~ In file included from partitions.c:6: partitions/partitions-desc.c:123:10: note: 'result' was declared here 123 | SEXP result; | ^~~~~~ D:/RCompile/recent/R-4.3.3/include/Rinternals.h:368:25: warning: 'j' may be used uninitialized [-Wmaybe-uninitialized] 368 | #define PROTECT(s) Rf_protect(s) | ^~~~~~~~~~ partitions/partitions-desc.c:120:12: note: 'j' was declared here 120 | int i, j, k; | ^ partitions/partitions-desc.c:163:29: warning: 'maxd' may be used uninitialized [-Wmaybe-uninitialized] 163 | if (skip >= (int) maxd) { | ^~~~~~~~~~ partitions/partitions-desc.c:126:12: note: 'maxd' was declared here 126 | double maxd; | ^~~~ partitions/partitions-desc.c: In function 'draw_desc_partitions': partitions/partitions-desc.c:253:16: warning: 'index' may be used uninitialized [-Wmaybe-uninitialized] 253 | mpz_t* index; | ^~~~~ D:/RCompile/recent/R-4.3.3/include/Rinternals.h: In function 'next_asc_k_partitions': D:/RCompile/recent/R-4.3.3/include/Rinternals.h:368:25: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] 368 | #define PROTECT(s) Rf_protect(s) | ^~~~~~~~~~ In file included from partitions.c:7: partitions/partitions-asc-k.c:88:10: note: 'result' was declared here 88 | SEXP result; | ^~~~~~ partitions/partitions-asc-k.c:126:29: warning: 'maxd' may be used uninitialized [-Wmaybe-uninitialized] 126 | if (skip >= (int) maxd) { | ^~~~~~~~~~ partitions/partitions-asc-k.c:91:12: note: 'maxd' was declared here 91 | double maxd; | ^~~~ partitions/partitions-asc-k.c: In function 'draw_asc_k_partitions': partitions/partitions-asc-k.c:183:16: warning: 'index' may be used uninitialized [-Wmaybe-uninitialized] 183 | mpz_t* index; | ^~~~~ D:/RCompile/recent/R-4.3.3/include/Rinternals.h: In function 'next_desc_k_partitions': D:/RCompile/recent/R-4.3.3/include/Rinternals.h:368:25: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] 368 | #define PROTECT(s) Rf_protect(s) | ^~~~~~~~~~ In file included from partitions.c:8: partitions/partitions-desc-k.c:109:10: note: 'result' was declared here 109 | SEXP result; | ^~~~~~ partitions/partitions-desc-k.c:147:29: warning: 'maxd' may be used uninitialized [-Wmaybe-uninitialized] 147 | if (skip >= (int) maxd) { | ^~~~~~~~~~ partitions/partitions-desc-k.c:112:12: note: 'maxd' was declared here 112 | double maxd; | ^~~~ partitions/partitions-desc-k.c: In function 'draw_desc_k_partitions': partitions/partitions-desc-k.c:204:16: warning: 'index' may be used uninitialized [-Wmaybe-uninitialized] 204 | mpz_t* index; | ^~~~~ D:/RCompile/recent/R-4.3.3/include/Rinternals.h: In function 'next_asc_distinct_partitions': D:/RCompile/recent/R-4.3.3/include/Rinternals.h:368:25: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] 368 | #define PROTECT(s) Rf_protect(s) | ^~~~~~~~~~ In file included from partitions.c:9: partitions/partitions-asc-distinct.c:106:10: note: 'result' was declared here 106 | SEXP result; | ^~~~~~ partitions/partitions-asc-distinct.c:146:29: warning: 'maxd' may be used uninitialized [-Wmaybe-uninitialized] 146 | if (skip >= (int) maxd) { | ^~~~~~~~~~ partitions/partitions-asc-distinct.c:109:12: note: 'maxd' was declared here 109 | double maxd; | ^~~~ partitions/partitions-asc-distinct.c: In function 'draw_asc_distinct_partitions': partitions/partitions-asc-distinct.c:219:16: warning: 'index' may be used uninitialized [-Wmaybe-uninitialized] 219 | mpz_t* index; | ^~~~~ D:/RCompile/recent/R-4.3.3/include/Rinternals.h: In function 'next_desc_distinct_partitions': D:/RCompile/recent/R-4.3.3/include/Rinternals.h:368:25: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] 368 | #define PROTECT(s) Rf_protect(s) | ^~~~~~~~~~ In file included from partitions.c:10: partitions/partitions-desc-distinct.c:119:10: note: 'result' was declared here 119 | SEXP result; | ^~~~~~ partitions/partitions-desc-distinct.c:159:29: warning: 'maxd' may be used uninitialized [-Wmaybe-uninitialized] 159 | if (skip >= (int) maxd) { | ^~~~~~~~~~ partitions/partitions-desc-distinct.c:122:12: note: 'maxd' was declared here 122 | double maxd; | ^~~~ partitions/partitions-desc-distinct.c: In function 'draw_desc_distinct_partitions': partitions/partitions-desc-distinct.c:232:16: warning: 'index' may be used uninitialized [-Wmaybe-uninitialized] 232 | mpz_t* index; | ^~~~~ D:/RCompile/recent/R-4.3.3/include/Rinternals.h: In function 'next_asc_k_distinct_partitions': D:/RCompile/recent/R-4.3.3/include/Rinternals.h:368:25: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] 368 | #define PROTECT(s) Rf_protect(s) | ^~~~~~~~~~ In file included from partitions.c:11: partitions/partitions-asc-k-distinct.c:64:10: note: 'result' was declared here 64 | SEXP result; | ^~~~~~ partitions/partitions-asc-k-distinct.c:102:29: warning: 'maxd' may be used uninitialized [-Wmaybe-uninitialized] 102 | if (skip >= (int) maxd) { | ^~~~~~~~~~ partitions/partitions-asc-k-distinct.c:67:12: note: 'maxd' was declared here 67 | double maxd; | ^~~~ partitions/partitions-asc-k-distinct.c: In function 'draw_asc_k_distinct_partitions': partitions/partitions-asc-k-distinct.c:159:16: warning: 'index' may be used uninitialized [-Wmaybe-uninitialized] 159 | mpz_t* index; | ^~~~~ D:/RCompile/recent/R-4.3.3/include/Rinternals.h: In function 'next_desc_k_distinct_partitions': D:/RCompile/recent/R-4.3.3/include/Rinternals.h:368:25: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] 368 | #define PROTECT(s) Rf_protect(s) | ^~~~~~~~~~ In file included from partitions.c:12: partitions/partitions-desc-k-distinct.c:76:10: note: 'result' was declared here 76 | SEXP result; | ^~~~~~ partitions/partitions-desc-k-distinct.c:114:29: warning: 'maxd' may be used uninitialized [-Wmaybe-uninitialized] 114 | if (skip >= (int) maxd) { | ^~~~~~~~~~ partitions/partitions-desc-k-distinct.c:79:12: note: 'maxd' was declared here 79 | double maxd; | ^~~~ partitions/partitions-desc-k-distinct.c: In function 'draw_desc_k_distinct_partitions': partitions/partitions-desc-k-distinct.c:171:16: warning: 'index' may be used uninitialized [-Wmaybe-uninitialized] 171 | mpz_t* index; | ^~~~~ gcc -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -pedantic -Wstrict-prototypes -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c permutations.c -o permutations.o In file included from permutations.c:4: permutations/permutations-ordinary.c: In function 'draw_ordinary_permutations': permutations/permutations-ordinary.c:326:54: warning: 'index' may be used uninitialized [-Wmaybe-uninitialized] 326 | nth_ordinary_permutation(ap, n, index[j] - 1); \ | ^ permutations/permutations-ordinary.c:309:14: note: 'index' was declared here 309 | int* index; | ^~~~~ permutations/permutations-ordinary.c:250:16: warning: 'index' may be used uninitialized [-Wmaybe-uninitialized] 250 | mpz_t* index; | ^~~~~ In file included from utils.h:6, from macros.h:4, from permutations.c:2: D:/RCompile/recent/R-4.3.3/include/Rinternals.h: In function 'next_k_permutations': D:/RCompile/recent/R-4.3.3/include/Rinternals.h:368:25: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] 368 | #define PROTECT(s) Rf_protect(s) | ^~~~~~~~~~ In file included from permutations.c:5: permutations/permutations-k.c:105:10: note: 'result' was declared here 105 | SEXP result; | ^~~~~~ D:/RCompile/recent/R-4.3.3/include/Rinternals.h:368:25: warning: 'j' may be used uninitialized [-Wmaybe-uninitialized] 368 | #define PROTECT(s) Rf_protect(s) | ^~~~~~~~~~ permutations/permutations-k.c:102:12: note: 'j' was declared here 102 | int i, j; | ^ permutations/permutations-k.c:143:29: warning: 'maxd' may be used uninitialized [-Wmaybe-uninitialized] 143 | if (skip >= (int) maxd) { | ^~~~~~~~~~ permutations/permutations-k.c:108:12: note: 'maxd' was declared here 108 | double maxd; | ^~~~ permutations/permutations-k.c: In function 'draw_k_permutations': permutations/permutations-k.c:313:50: warning: 'index' may be used uninitialized [-Wmaybe-uninitialized] 313 | nth_k_permutation(ap, n, k, index[j] - 1); \ | ^ permutations/permutations-k.c:296:14: note: 'index' was declared here 296 | int* index; | ^~~~~ permutations/permutations-k.c:237:16: warning: 'index' may be used uninitialized [-Wmaybe-uninitialized] 237 | mpz_t* index; | ^~~~~ In file included from permutations.c:6: permutations/permutations-multiset.c: In function 'n_multiset_permutations': permutations/permutations-multiset.c:37:12: warning: 'ptemp' may be used uninitialized [-Wmaybe-uninitialized] 37 | double ptemp; | ^~~~~ D:/RCompile/recent/R-4.3.3/include/Rinternals.h: In function 'next_ordinary_permutations': D:/RCompile/recent/R-4.3.3/include/Rinternals.h:368:25: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] 368 | #define PROTECT(s) Rf_protect(s) | ^~~~~~~~~~ permutations/permutations-ordinary.c:109:10: note: 'result' was declared here 109 | SEXP result; | ^~~~~~ D:/RCompile/recent/R-4.3.3/include/Rinternals.h:368:25: warning: 'j' may be used uninitialized [-Wmaybe-uninitialized] 368 | #define PROTECT(s) Rf_protect(s) | ^~~~~~~~~~ permutations/permutations-ordinary.c:106:12: note: 'j' was declared here 106 | int i, j, h; | ^ permutations/permutations-ordinary.c:176:29: warning: 'maxd' may be used uninitialized [-Wmaybe-uninitialized] 176 | if (skip >= (int) maxd) { | ^~~~~~~~~~ permutations/permutations-ordinary.c:119:12: note: 'maxd' was declared here 119 | double maxd; | ^~~~ permutations/permutations-ordinary.c:125:20: warning: 'flen' may be used uninitialized [-Wmaybe-uninitialized] 125 | maxd = multichoose(fp, flen); | ^~~~~~~~~~~~~~~~~~~~~ permutations/permutations-ordinary.c:112:9: note: 'flen' was declared here 112 | int flen; | ^~~~ permutations/permutations-ordinary.c:125:20: warning: 'fp' may be used uninitialized [-Wmaybe-uninitialized] 125 | maxd = multichoose(fp, flen); | ^~~~~~~~~~~~~~~~~~~~~ permutations/permutations-ordinary.c:111:10: note: 'fp' was declared here 111 | int* fp; | ^~ D:/RCompile/recent/R-4.3.3/include/Rinternals.h: In function 'next_multiset_permutations': D:/RCompile/recent/R-4.3.3/include/Rinternals.h:368:25: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] 368 | #define PROTECT(s) Rf_protect(s) | ^~~~~~~~~~ permutations/permutations-multiset.c:256:10: note: 'result' was declared here 256 | SEXP result; | ^~~~~~ D:/RCompile/recent/R-4.3.3/include/Rinternals.h:368:25: warning: 'j' may be used uninitialized [-Wmaybe-uninitialized] 368 | #define PROTECT(s) Rf_protect(s) | ^~~~~~~~~~ permutations/permutations-multiset.c:253:12: note: 'j' was declared here 253 | int i, j, h; | ^ permutations/permutations-multiset.c:301:29: warning: 'maxd' may be used uninitialized [-Wmaybe-uninitialized] 301 | if (skip >= (int) maxd) { | ^~~~~~~~~~ permutations/permutations-multiset.c:262:12: note: 'maxd' was declared here 262 | double maxd; | ^~~~ permutations/permutations-multiset.c: In function 'draw_multiset_permutations': permutations/permutations-multiset.c:460:64: warning: 'index' may be used uninitialized [-Wmaybe-uninitialized] 460 | nth_multiset_permutation(ap, fp, flen, k, index[j] - 1); \ | ^ permutations/permutations-multiset.c:443:14: note: 'index' was declared here 443 | int* index; | ^~~~~ permutations/permutations-multiset.c:384:16: warning: 'index' may be used uninitialized [-Wmaybe-uninitialized] 384 | mpz_t* index; | ^~~~~ D:/RCompile/recent/R-4.3.3/include/Rinternals.h: In function 'next_replacement_permutations': D:/RCompile/recent/R-4.3.3/include/Rinternals.h:368:25: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] 368 | #define PROTECT(s) Rf_protect(s) | ^~~~~~~~~~ In file included from permutations.c:7: permutations/permutations-replacement.c:64:10: note: 'result' was declared here 64 | SEXP result; | ^~~~~~ permutations/permutations-replacement.c:105:29: warning: 'maxd' may be used uninitialized [-Wmaybe-uninitialized] 105 | if (skip >= (int) maxd) { | ^~~~~~~~~~ permutations/permutations-replacement.c:71:12: note: 'maxd' was declared here 71 | double maxd; | ^~~~ permutations/permutations-replacement.c: In function 'draw_replacement_permutations': permutations/permutations-replacement.c:251:60: warning: 'index' may be used uninitialized [-Wmaybe-uninitialized] 251 | nth_replacement_permutation(ap, n, k, index[j] - 1); \ | ^ permutations/permutations-replacement.c:234:14: note: 'index' was declared here 234 | int* index; | ^~~~~ permutations/permutations-replacement.c:175:16: warning: 'index' may be used uninitialized [-Wmaybe-uninitialized] 175 | mpz_t* index; | ^~~~~ In function 'n_multiset_permutations_bigz', inlined from 'npermutations' at permutations.c:39:17: permutations/permutations-multiset.c:70:16: warning: 'flen' may be used uninitialized [-Wmaybe-uninitialized] 70 | for (i=0; i<flen; i++) n += freq[i]; | ~^~~~~ permutations.c: In function 'npermutations': permutations.c:19:9: note: 'flen' was declared here 19 | int flen; | ^~~~ permutations.c:18:10: warning: 'fp' may be used uninitialized [-Wmaybe-uninitialized] 18 | int* fp; | ^~ permutations.c: In function 'get_permutations': permutations.c:134:19: warning: 'flen' may be used uninitialized [-Wmaybe-uninitialized] 134 | ans = draw_multiset_permutations(fp, flen, k, _v, layout, _index, _nsample); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ permutations.c:89:9: note: 'flen' was declared here 89 | int flen; | ^~~~ permutations.c:134:19: warning: 'fp' may be used uninitialized [-Wmaybe-uninitialized] 134 | ans = draw_multiset_permutations(fp, flen, k, _v, layout, _index, _nsample); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ permutations.c:88:10: note: 'fp' was declared here 88 | int* fp; | ^~ gcc -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -pedantic -Wstrict-prototypes -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c utils.c -o utils.o gcc -shared -s -static-libgcc -o arrangements.dll tmp.def arrangements.o combinations.o compositions.o math.o partitions.o permutations.o utils.o -lgmp -Ld:/rtools43/x86_64-w64-mingw32.static.posix/lib/x64 -Ld:/rtools43/x86_64-w64-mingw32.static.posix/lib -LD:/RCompile/recent/R-4.3.3/bin/x64 -lR make[1]: Leaving directory '/d/temp/2024_11_22_01_50_01_16053/Rtmpe6YMSj/R.INSTALL2af0842444985/arrangements/src' make[1]: Entering directory '/d/temp/2024_11_22_01_50_01_16053/Rtmpe6YMSj/R.INSTALL2af0842444985/arrangements/src' make[1]: Leaving directory '/d/temp/2024_11_22_01_50_01_16053/Rtmpe6YMSj/R.INSTALL2af0842444985/arrangements/src' installing to d:/Rcompile/CRANpkg/lib/4.3/00LOCK-arrangements/00new/arrangements/libs/x64 ** R ** byte-compile and prepare package for lazy loading ** help *** installing help indices ** building package indices ** testing if installed package can be loaded from temporary location ** testing if installed package can be loaded from final location ** testing if installed package keeps a record of temporary installation path * MD5 sums packaged installation of 'arrangements' as arrangements_1.1.9.zip * DONE (arrangements)