* installing to library ‘/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages’
* installing *source* package ‘Cubist’ ...
** this is package ‘Cubist’ version ‘0.5.1’
** package ‘Cubist’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C compiler: ‘gcc-15 (Debian 15.2.0-4) 15.2.0’
make[1]: Entering directory '/tmp/RtmpF2OLGF/R.INSTALL1eb16279f12c0/Cubist/src'
gcc-15 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -c construct.c -o construct.o
gcc-15 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -c contin.c -o contin.o
contin.c: In function ‘EvalContinuousAtt’:
contin.c:180:18: warning: ‘BestI’ may be used uninitialized [-Wmaybe-uninitialized]
180 | LowVal = SRec[BestI].V;
| ^
contin.c:54:17: note: ‘BestI’ was declared here
54 | CaseNo i, Xp, BestI, Cases, Edge, LoK, HiK;
| ^~~~~
gcc-15 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -c discr.c -o discr.o
gcc-15 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -c formrules.c -o formrules.o
formrules.c: In function ‘PruneRule’:
formrules.c:245:14: warning: variable ‘Bestid’ set but not used [-Wunused-but-set-variable]
245 | int d, id, Bestid, Remaining = NCond;
| ^~~~~~
gcc-15 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -c formtree.c -o formtree.o
gcc-15 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -c getdata.c -o getdata.o
gcc-15 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -c getnames.c -o getnames.o
gcc-15 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -c global.c -o global.o
gcc-15 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -c hash.c -o hash.o
gcc-15 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -c implicitatt.c -o implicitatt.o
gcc-15 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -c instance.c -o instance.o
gcc-15 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -c modelfiles.c -o modelfiles.o
modelfiles.c: In function ‘ReadHeader’:
modelfiles.c:436:16: warning: ‘Att’ may be used uninitialized [-Wmaybe-uninitialized]
436 | AttMinVal[Att] = Xd;
| ^
modelfiles.c:325:13: note: ‘Att’ was declared here
325 | Attribute Att;
| ^~~
gcc-15 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -c predict.c -o predict.o
gcc-15 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -c prunetree.c -o prunetree.o
gcc-15 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -c rcubist.c -o rcubist.o
gcc-15 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -c redefine.c -o redefine.o
gcc-15 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -c regress.c -o regress.o
gcc-15 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -c rsample.c -o rsample.o
gcc-15 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -c rulebasedmodels.c -o rulebasedmodels.o
gcc-15 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -c rules.c -o rules.o
In file included from rules.c:32:
rules.c: In function ‘PrintRule’:
defns.h:165:56: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
165 | (n1->Tested < n2->Tested || n1->Tested == n2->Tested && n1->Cut < n2->Cut)
rules.c:293:21: note: in expansion of macro ‘Before’
293 | (!dd || Before(R->Lhs[id], R->Lhs[dd]))) {
| ^~~~~~
rules.c: In function ‘PrintCondition’:
rules.c:413:30: warning: ‘Last’ may be used uninitialized [-Wmaybe-uninitialized]
413 | AttValName[Att][Last]);
| ^
rules.c:360:21: note: ‘Last’ was declared here
360 | DiscrValue v, pv, Last, Values = 0;
| ^~~~
rules.c: In function ‘Satisfies’:
rules.c:483:19: warning: ‘Outcome’ may be used uninitialized [-Wmaybe-uninitialized]
483 | return (Outcome == OneCond->TestValue);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
rules.c:455:14: note: ‘Outcome’ was declared here
455 | DiscrValue Outcome;
| ^~~~~~~
gcc-15 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -c sample.c -o sample.o
sample.c: In function ‘Ymain’:
sample.c:23:25: warning: unused variable ‘Option’ [-Wunused-variable]
23 | extern String OptArg, Option;
| ^~~~~~
sample.c:20:10: warning: variable ‘pval’ set but not used [-Wunused-but-set-variable]
20 | double pval;
| ^~~~
gcc-15 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -c sort.c -o sort.o
gcc-15 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -c stats.c -o stats.o
gcc-15 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -c strbuf.c -o strbuf.o
strbuf.c: In function ‘strbuf_vprintf’:
strbuf.c:193:11: warning: unused variable ‘ap3’ [-Wunused-variable]
193 | va_list ap3;
| ^~~
gcc-15 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -c top.c -o top.o
gcc-15 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -c trees.c -o trees.o
trees.c: In function ‘MaxLine’:
trees.c:279:10: warning: ‘Ll’ may be used uninitialized [-Wmaybe-uninitialized]
279 | Ll += 6;
| ~~~^~~~
trees.c:249:7: note: ‘Ll’ was declared here
249 | int Ll, One, MaxLl = 0;
| ^~
gcc-15 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -c update.c -o update.o
gcc-15 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -c utility.c -o utility.o
gcc-15 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -c xval.c -o xval.o
gcc-15 -shared -L/home/hornik/tmp/R.check/r-devel-gcc/Work/build/lib -Wl,-O1 -o Cubist.so construct.o contin.o discr.o formrules.o formtree.o getdata.o getnames.o global.o hash.o implicitatt.o instance.o modelfiles.o predict.o prunetree.o rcubist.o redefine.o regress.o rsample.o rulebasedmodels.o rules.o sample.o sort.o stats.o strbuf.o top.o trees.o update.o utility.o xval.o -L/home/hornik/tmp/R.check/r-devel-gcc/Work/build/lib -lR
make[1]: Leaving directory '/tmp/RtmpF2OLGF/R.INSTALL1eb16279f12c0/Cubist/src'
make[1]: Entering directory '/tmp/RtmpF2OLGF/R.INSTALL1eb16279f12c0/Cubist/src'
make[1]: Leaving directory '/tmp/RtmpF2OLGF/R.INSTALL1eb16279f12c0/Cubist/src'
installing to /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/00LOCK-Cubist/00new/Cubist/libs
** 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
** checking absolute paths in shared objects and dynamic libraries
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (Cubist)