* installing to library ‘/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages’
* installing *source* package ‘WeightSVM’ ...
** this is package ‘WeightSVM’ version ‘1.7-16’
** package ‘WeightSVM’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C compiler: ‘gcc-15 (Debian 15.2.0-7) 15.2.0’
using C++ compiler: ‘g++-15 (Debian 15.2.0-7) 15.2.0’
make[1]: Entering directory '/tmp/RtmpQbnDCi/R.INSTALL213c4326f0012f/WeightSVM/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 Rsvm.c -o Rsvm.o
Rsvm.c: In function ‘svmtrain’:
Rsvm.c:276:5: warning: this ‘else’ clause does not guard... [-Wmisleading-indentation]
276 | else
| ^~~~
Rsvm.c:278:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘else’
278 | prob.W = W;
| ^~~~
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 init.c -o init.o
g++-15 -std=gnu++17 -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 -pedantic -mtune=native -c svm.cpp -o svm.o
svm.cpp: In function ‘void solve_nu_svc(const svm_problem*, const svm_parameter*, double*, Solver::SolutionInfo*)’:
svm.cpp:1509:17: warning: this ‘else’ clause does not guard... [-Wmisleading-indentation]
1509 | else
| ^~~~
svm.cpp:1511:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘else’
1511 | C[i] = prob->W[i];
| ^
svm.cpp: In function ‘decision_function svm_train_one(const svm_problem*, const svm_parameter*, double, double)’:
svm.cpp:1748:17: warning: ‘si.Solver::SolutionInfo::upper_bound’ may be used uninitialized [-Wmaybe-uninitialized]
1748 | free(si.upper_bound);
| ~~~^~~~~~~~~~~
svm.cpp:1699:30: note: ‘si’ declared here
1699 | Solver::SolutionInfo si;
| ^~
g++-15 -std=gnu++17 -shared -L/home/hornik/tmp/R.check/r-devel-gcc/Work/build/lib -Wl,-O1 -o WeightSVM.so Rsvm.o init.o svm.o -L/home/hornik/tmp/R.check/r-devel-gcc/Work/build/lib -lR
make[1]: Leaving directory '/tmp/RtmpQbnDCi/R.INSTALL213c4326f0012f/WeightSVM/src'
make[1]: Entering directory '/tmp/RtmpQbnDCi/R.INSTALL213c4326f0012f/WeightSVM/src'
make[1]: Leaving directory '/tmp/RtmpQbnDCi/R.INSTALL213c4326f0012f/WeightSVM/src'
installing to /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/00LOCK-WeightSVM/00new/WeightSVM/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 (WeightSVM)