* installing *source* package ‘WeightSVM’ ...
** package ‘WeightSVM’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C compiler: ‘gcc-13 (GCC) 13.2.0’
using C++ compiler: ‘g++-13 (GCC) 13.2.0’
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-devel/WeightSVM/src'
gcc-13 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG   -I/usr/local/include    -fpic  -g -O2 -Wall -pedantic -mtune=native -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -Werror=implicit-function-declaration -Wstrict-prototypes  -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-13 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG   -I/usr/local/include    -fpic  -g -O2 -Wall -pedantic -mtune=native -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -Werror=implicit-function-declaration -Wstrict-prototypes  -c init.c -o init.o
g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG   -I/usr/local/include    -fpic  -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection   -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 'svm_model* svm_train(const svm_problem*, const svm_parameter*)':
svm.cpp:42:38: warning: argument 1 range [18446744056529682432, 18446744073709551608] exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=]
   42 | #define Malloc(type,n) (type *)malloc((n)*sizeof(type))
      |                                ~~~~~~^~~~~~~~~~~~~~~~~~
svm.cpp:2391:34: note: in expansion of macro 'Malloc'
 2391 |                 model->sv_coef = Malloc(double *,nr_class-1);
      |                                  ^~~~~~
In file included from /usr/local/gcc13/include/c++/13.2.0/cstdlib:79,
                 from /data/gannet/ripley/R/R-devel/include/R.h:39,
                 from svm.cpp:1:
/usr/include/stdlib.h:540:14: note: in a call to allocation function 'void* malloc(size_t)' declared here
  540 | extern void *malloc (size_t __size) __THROW __attribute_malloc__
      |              ^~~~~~
g++-13 -std=gnu++17 -shared -L/usr/local/gcc13/lib64 -L/usr/local/lib64 -L/usr/local/clang18/lib/x86_64-unknown-linux-gnu -o WeightSVM.so Rsvm.o init.o svm.o
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-devel/WeightSVM/src'
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-devel/WeightSVM/src'
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-devel/WeightSVM/src'
installing to /data/gannet/ripley/R/packages/tests-devel/WeightSVM.Rcheck/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)