* installing *source* package 'RiemannLebesgueForest' ... ** this is package 'RiemannLebesgueForest' version '1.0' ** using staged installation ** libs using C compiler: 'gcc.exe (GCC) 14.3.0' using Fortran compiler: 'GNU Fortran (GCC) 14.3.0' gcc -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -pedantic -Wstrict-prototypes -O2 -Wall -std=gnu2x -mfpmath=sse -msse2 -mstackrealign -c classTree.c -o classTree.o classTree.c: In function 'predictClassTree': classTree.c:427:47: warning: 'cbestsplit' may be used uninitialized [-Wmaybe-uninitialized] 427 | k = cbestsplit[(int) x[m + i * mdim] - 1 + k * maxcat] ? | ^ classTree.c:396:22: note: 'cbestsplit' was declared here 396 | int m, i, j, k, *cbestsplit; | ^~~~~~~~~~ gcc -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -pedantic -Wstrict-prototypes -O2 -Wall -std=gnu2x -mfpmath=sse -msse2 -mstackrealign -c init.c -o init.o gcc -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -pedantic -Wstrict-prototypes -O2 -Wall -std=gnu2x -mfpmath=sse -msse2 -mstackrealign -c regRLTree.c -o regRLTree.o regRLTree.c: In function 'predictRegRLTree': regRLTree.c:385:39: warning: unused variable 'xdimk' [-Wunused-variable] 385 | int currentNodeCount,nrnodescurrent,xdimk; | ^~~~~ regRLTree.c:385:24: warning: unused variable 'nrnodescurrent' [-Wunused-variable] 385 | int currentNodeCount,nrnodescurrent,xdimk; | ^~~~~~~~~~~~~~ regRLTree.c:382:88: warning: unused variable 'nodexk' [-Wunused-variable] 382 | int i, j, k, m,n,t,total_treenode,node, *cbestsplit,pointer_xindrf,index_k,index_kk,*nodexk,*treeSizerf; | ^~~~~~ regRLTree.c:382:55: warning: variable 'pointer_xindrf' set but not used [-Wunused-but-set-variable] 382 | int i, j, k, m,n,t,total_treenode,node, *cbestsplit,pointer_xindrf,index_k,index_kk,*nodexk,*treeSizerf; | ^~~~~~~~~~~~~~ regRLTree.c:382:18: warning: unused variable 'n' [-Wunused-variable] 382 | int i, j, k, m,n,t,total_treenode,node, *cbestsplit,pointer_xindrf,index_k,index_kk,*nodexk,*treeSizerf; | ^ regRLTree.c: In function 'regRLTree': regRLTree.c:569:7: warning: unused variable 'pointer_v' [-Wunused-variable] 569 | int pointer_v=0,pointer_vk=0,pointer_vkt=0,sum;// pointer of vertical splitting node | ^~~~~~~~~ regRLTree.c:564:62: warning: unused variable 'leftChildLastDataPointy' [-Wunused-variable] 564 | int ndstart, ndend,ndstarty,ndendy ,leftChildLastDataPoint,leftChildLastDataPointy, currentNodeCount, splitResult,splitResulty, msplit,msplity; | ^~~~~~~~~~~~~~~~~~~~~~~ regRLTree.c:564:31: warning: unused variable 'ndendy' [-Wunused-variable] 564 | int ndstart, ndend,ndstarty,ndendy ,leftChildLastDataPoint,leftChildLastDataPointy, currentNodeCount, splitResult,splitResulty, msplit,msplity; | ^~~~~~ regRLTree.c:564:22: warning: unused variable 'ndstarty' [-Wunused-variable] 564 | int ndstart, ndend,ndstarty,ndendy ,leftChildLastDataPoint,leftChildLastDataPointy, currentNodeCount, splitResult,splitResulty, msplit,msplity; | ^~~~~~~~ regRLTree.c: In function 'predictRegRLTree': regRLTree.c:429:29: warning: 'cbestsplit' may be used uninitialized [-Wmaybe-uninitialized] 429 | k = cbestsplit[(int) x[m + i * mdim] - 1 + k * maxcat] ? | ^ regRLTree.c:382:44: note: 'cbestsplit' was declared here 382 | int i, j, k, m,n,t,total_treenode,node, *cbestsplit,pointer_xindrf,index_k,index_kk,*nodexk,*treeSizerf; | ^~~~~~~~~~ gcc -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -pedantic -Wstrict-prototypes -O2 -Wall -std=gnu2x -mfpmath=sse -msse2 -mstackrealign -c regTree.c -o regTree.o regTree.c: In function 'predictRegTree': regTree.c:384:23: warning: 'cbestsplit' may be used uninitialized [-Wmaybe-uninitialized] 384 | k = cbestsplit[(int) x[m + i * mdim] - 1 + k * maxcat] ? | ^ regTree.c:346:20: note: 'cbestsplit' was declared here 346 | int i, j, k, m, *cbestsplit; | ^~~~~~~~~~ gcc -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -pedantic -Wstrict-prototypes -O2 -Wall -std=gnu2x -mfpmath=sse -msse2 -mstackrealign -c regrf.c -o regrf.o regrf.c: In function 'regRF': regrf.c:54:20: warning: variable 'nodex' set but not used [-Wunused-but-set-variable] 54 | int *in, *nind, *nodex,ts=0; | ^~~~~ regrf.c:54:13: warning: unused variable 'nind' [-Wunused-variable] 54 | int *in, *nind, *nodex,ts=0; | ^~~~ regrf.c:51:18: warning: variable 'keepF' set but not used [-Wunused-but-set-variable] 51 | nsample, mdim, keepF; | ^~~~~ regrf.c:50:23: warning: unused variable 'jout' [-Wunused-variable] 50 | int k, m, mr, n, j, jout, idx=0, | ^~~~ regrf.c:50:13: warning: unused variable 'mr' [-Wunused-variable] 50 | int k, m, mr, n, j, jout, idx=0, | ^~ regrf.c:46:14: warning: unused variable 'xrand' [-Wunused-variable] 46 | double r, xrand; | ^~~~~ regrf.c:46:11: warning: unused variable 'r' [-Wunused-variable] 46 | double r, xrand; | ^ regrf.c: In function 'regForest': regrf.c:142:26: warning: unused variable 'junk' [-Wunused-variable] 142 | int i, j, idx1, idx2, *junk; | ^~~~ regrf.c:142:19: warning: variable 'idx2' set but not used [-Wunused-but-set-variable] 142 | int i, j, idx1, idx2, *junk; | ^~~~ gcc -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -pedantic -Wstrict-prototypes -O2 -Wall -std=gnu2x -mfpmath=sse -msse2 -mstackrealign -c regrlrf.c -o regrlrf.o regrlrf.c: In function 'regRLRF': regrlrf.c:54:28: warning: variable 'nodexts' set but not used [-Wunused-but-set-variable] 54 | int *in, *nind, *nodex, *nodexts; | ^~~~~~~ regrlrf.c:54:20: warning: variable 'nodex' set but not used [-Wunused-but-set-variable] 54 | int *in, *nind, *nodex, *nodexts; | ^~~~~ regrlrf.c:54:13: warning: variable 'nind' set but not used [-Wunused-but-set-variable] 54 | int *in, *nind, *nodex, *nodexts; | ^~~~ regrlrf.c:52:25: warning: variable 'localImp' set but not used [-Wunused-but-set-variable] 52 | int *oobpair, varImp, localImp, *varUsed; | ^~~~~~~~ regrlrf.c:52:17: warning: variable 'varImp' set but not used [-Wunused-but-set-variable] 52 | int *oobpair, varImp, localImp, *varUsed; | ^~~~~~ regrlrf.c:52:8: warning: variable 'oobpair' set but not used [-Wunused-but-set-variable] 52 | int *oobpair, varImp, localImp, *varUsed; | ^~~~~~~ regrlrf.c:50:66: warning: variable 'nPerm' set but not used [-Wunused-but-set-variable] 50 | int k, m, mr, n, nOOB, j, jout, idx=0,ts=0, ntest, last, ktmp, nPerm,idxrf,idk, | ^~~~~ regrlrf.c:50:60: warning: unused variable 'ktmp' [-Wunused-variable] 50 | int k, m, mr, n, nOOB, j, jout, idx=0,ts=0, ntest, last, ktmp, nPerm,idxrf,idk, | ^~~~ regrlrf.c:50:54: warning: unused variable 'last' [-Wunused-variable] 50 | int k, m, mr, n, nOOB, j, jout, idx=0,ts=0, ntest, last, ktmp, nPerm,idxrf,idk, | ^~~~ regrlrf.c:50:41: warning: unused variable 'ts' [-Wunused-variable] 50 | int k, m, mr, n, nOOB, j, jout, idx=0,ts=0, ntest, last, ktmp, nPerm,idxrf,idk, | ^~ regrlrf.c:50:29: warning: unused variable 'jout' [-Wunused-variable] 50 | int k, m, mr, n, nOOB, j, jout, idx=0,ts=0, ntest, last, ktmp, nPerm,idxrf,idk, | ^~~~ regrlrf.c:50:20: warning: unused variable 'nOOB' [-Wunused-variable] 50 | int k, m, mr, n, nOOB, j, jout, idx=0,ts=0, ntest, last, ktmp, nPerm,idxrf,idk, | ^~~~ regrlrf.c:50:13: warning: unused variable 'mr' [-Wunused-variable] 50 | int k, m, mr, n, nOOB, j, jout, idx=0,ts=0, ntest, last, ktmp, nPerm,idxrf,idk, | ^~ regrlrf.c:48:34: warning: variable 'ytree' set but not used [-Wunused-but-set-variable] 48 | double *yb, *xtmp, *xb, *ytr, *ytree; | ^~~~~ regrlrf.c:48:28: warning: variable 'ytr' set but not used [-Wunused-but-set-variable] 48 | double *yb, *xtmp, *xb, *ytr, *ytree; | ^~~ regrlrf.c:48:16: warning: variable 'xtmp' set but not used [-Wunused-but-set-variable] 48 | double *yb, *xtmp, *xb, *ytr, *ytree; | ^~~~ regrlrf.c:46:56: warning: variable 'resOOB' set but not used [-Wunused-but-set-variable] 46 | errb = 0.0, resid=0.0, ooberr, ooberrperm, delta, *resOOB; | ^~~~~~ regrlrf.c:46:48: warning: unused variable 'delta' [-Wunused-variable] 46 | errb = 0.0, resid=0.0, ooberr, ooberrperm, delta, *resOOB; | ^~~~~ regrlrf.c:46:36: warning: unused variable 'ooberrperm' [-Wunused-variable] 46 | errb = 0.0, resid=0.0, ooberr, ooberrperm, delta, *resOOB; | ^~~~~~~~~~ regrlrf.c:46:28: warning: unused variable 'ooberr' [-Wunused-variable] 46 | errb = 0.0, resid=0.0, ooberr, ooberrperm, delta, *resOOB; | ^~~~~~ regrlrf.c:46:17: warning: unused variable 'resid' [-Wunused-variable] 46 | errb = 0.0, resid=0.0, ooberr, ooberrperm, delta, *resOOB; | ^~~~~ regrlrf.c:46:5: warning: unused variable 'errb' [-Wunused-variable] 46 | errb = 0.0, resid=0.0, ooberr, ooberrperm, delta, *resOOB; | ^~~~ regrlrf.c:45:64: warning: unused variable 'xrand' [-Wunused-variable] 45 | double errts = 0.0, averrb, meanY, meanYts, varY, varYts, r, xrand, | ^~~~~ regrlrf.c:45:61: warning: unused variable 'r' [-Wunused-variable] 45 | double errts = 0.0, averrb, meanY, meanYts, varY, varYts, r, xrand, | ^ regrlrf.c:45:23: warning: variable 'averrb' set but not used [-Wunused-but-set-variable] 45 | double errts = 0.0, averrb, meanY, meanYts, varY, varYts, r, xrand, | ^~~~~~ regrlrf.c:45:10: warning: unused variable 'errts' [-Wunused-variable] 45 | double errts = 0.0, averrb, meanY, meanYts, varY, varYts, r, xrand, | ^~~~~ regrlrf.c: In function 'regRLForest': regrlrf.c:184:41: warning: unused variable 'junk' [-Wunused-variable] 184 | int i, j, idx1, idx2, idx3,idx4,idx5,*junk; | ^~~~ regrlrf.c:184:25: warning: variable 'idx3' set but not used [-Wunused-but-set-variable] 184 | int i, j, idx1, idx2, idx3,idx4,idx5,*junk; | ^~~~ gcc -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -pedantic -Wstrict-prototypes -O2 -Wall -std=gnu2x -mfpmath=sse -msse2 -mstackrealign -c rf.c -o rf.o rf.c: In function 'classRF': rf.c:155:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 155 | for (n = 0; n < nsample0; ++n) | ^~~ rf.c:159:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 159 | strata_size = (int *) S_alloc(nstrata, sizeof(int)); | ^~~~~~~~~~~ rf.c:82:4: warning: variable 'tp' set but not used [-Wunused-but-set-variable] 82 | *tp, *wr, *bestsplitnext, *bestsplit; | ^~ rf.c:77:41: warning: unused variable 'ktmp' [-Wunused-variable] 77 | int **strata_idx, *strata_size, last, ktmp, nEmpty, ntry; | ^~~~ rf.c:77:35: warning: unused variable 'last' [-Wunused-variable] 77 | int **strata_idx, *strata_size, last, ktmp, nEmpty, ntry; | ^~~~ rf.c:76:24: warning: variable 'nind' set but not used [-Wunused-but-set-variable] 76 | *at, *a, *b, *mind, *nind, *jts, *oobpair, *sampledIndices; | ^~~~ rf.c:67:9: warning: variable 'nimp' set but not used [-Wunused-but-set-variable] 67 | mimp, nimp, near, nuse, noutall, nrightall, nrightimpall, | ^~~~ rf.c:67:3: warning: variable 'mimp' set but not used [-Wunused-but-set-variable] 67 | mimp, nimp, near, nuse, noutall, nrightall, nrightimpall, | ^~~~ rf.c:374:7: warning: 'oobpair' may be used uninitialized [-Wmaybe-uninitialized] 374 | computeProximity(prox, oobprox, nodex, jin, oobpair, near); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rf.c:76:37: note: 'oobpair' was declared here 76 | *at, *a, *b, *mind, *nind, *jts, *oobpair, *sampledIndices; | ^~~~~~~ rf.c:322:7: warning: 'nclts' may be used uninitialized [-Wmaybe-uninitialized] 322 | TestSetError(countts, jts, clts, outclts, ntest, nclass, jb+1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 323 | errts + jb*(nclass+1), *labelts, nclts, cut); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rf.c:71:23: note: 'nclts' was declared here 71 | *nrightimp, *nout, *nclts, Ntree; | ^~~~~ gfortran -pedantic -O2 -mfpmath=sse -msse2 -mstackrealign -c rfsub.f -o rfsub.o gcc -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -pedantic -Wstrict-prototypes -O2 -Wall -std=gnu2x -mfpmath=sse -msse2 -mstackrealign -c rfutils.c -o rfutils.o rfutils.c: In function 'sampleWithoutReplacementWithWeights': rfutils.c:334:9: warning: variable 'sampledIndexCopy' set but not used [-Wunused-but-set-variable] 334 | int sampledIndexCopy; | ^~~~~~~~~~~~~~~~ rfutils.c:332:9: warning: variable 'first' set but not used [-Wunused-but-set-variable] 332 | int first; | ^~~~~ gcc -shared -s -static-libgcc -o RiemannLebesgueForest.dll tmp.def classTree.o init.o regRLTree.o regTree.o regrf.o regrlrf.o rf.o rfsub.o rfutils.o -Ld:/rtools45/x86_64-w64-mingw32.static.posix/lib/x64 -Ld:/rtools45/x86_64-w64-mingw32.static.posix/lib -lgfortran -lquadmath -LD:/RCompile/recent/R/bin/x64 -lR installing to d:/RCompile/CRANincoming/R-devel/lib/00LOCK-RiemannLebesgueForest/00new/RiemannLebesgueForest/libs/x64 ** R ** inst ** byte-compile and prepare package for lazy loading ** help *** installing help indices ** building package indices ** installing vignettes ** 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 * DONE (RiemannLebesgueForest)