* installing *source* package ‘lda’ ...
** package ‘lda’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C compiler: ‘gcc-13 (GCC) 13.2.0’
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-devel/lda/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 cvb0.c -o cvb0.o
cvb0.c: In function 'cvb0':
cvb0.c:80:10: warning: unused variable 'zs' [-Wunused-variable]
   80 |     SEXP zs = VECTOR_ELT(assignments, dd);
      |          ^~
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 gibbs.c -o gibbs.o
gibbs.c: In function 'collapsedGibbsSampler':
gibbs.c:720:22: warning: 'classN' may be used uninitialized [-Wmaybe-uninitialized]
  720 |         for (ww=0; ww< classN; ww++){
      |                    ~~^~~~~~~~
gibbs.c:535:7: note: 'classN' was declared here
  535 |   int classN; //number of classes in sLDA minus 1
      |       ^~~~~~
gibbs.c:812:15: warning: 'nbeta_one' may be used uninitialized [-Wmaybe-uninitialized]
  812 |               INTEGER(nbeta_one)[K * (*z) + (*z2)]--;
      |               ^~~~~~~~~~~~~~~~~~
gibbs.c:591:8: note: 'nbeta_one' was declared here
  591 |   SEXP nbeta_one, nbeta_zero;
      |        ^~~~~~~~~
gibbs.c:814:15: warning: 'nbeta_zero' may be used uninitialized [-Wmaybe-uninitialized]
  814 |               INTEGER(nbeta_zero)[K * (*z) + (*z2)]--;
      |               ^~~~~~~~~~~~~~~~~~~
gibbs.c:591:19: note: 'nbeta_zero' was declared here
  591 |   SEXP nbeta_one, nbeta_zero;
      |                   ^~~~~~~~~~
gibbs.c:801:21: warning: 'nassignments_left' may be used uninitialized [-Wmaybe-uninitialized]
  801 |           int* z = &INTEGER(nassignments_left)[nd * dd + ww];
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~
gibbs.c:592:8: note: 'nassignments_left' was declared here
  592 |   SEXP nassignments_left, nassignments_right;
      |        ^~~~~~~~~~~~~~~~~
gibbs.c:802:22: warning: 'nassignments_right' may be used uninitialized [-Wmaybe-uninitialized]
  802 |           int* z2 = &INTEGER(nassignments_right)[nd * ww + dd];
      |                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~
gibbs.c:592:27: note: 'nassignments_right' was declared here
  592 |   SEXP nassignments_left, nassignments_right;
      |                           ^~~~~~~~~~~~~~~~~~
In file included from /data/gannet/ripley/R/R-devel/include/R.h:73,
                 from gibbs.c:1:
/data/gannet/ripley/R/R-devel/include/R_ext/Error.h:68:15: warning: 'sumcn' may be used uninitialized [-Wmaybe-uninitialized]
   68 | #define error Rf_error
gibbs.c:1021:11: note: in expansion of macro 'error'
 1021 |           error("Numerical problems (%g, %g, %g).", dv[dd],
      |           ^~~~~
gibbs.c:948:16: note: 'sumcn' was declared here
  948 |         double sumcn;
      |                ^~~~~
gcc-13 -shared -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 -fpic -L/usr/local/gcc13/lib64 -L/usr/local/lib64 -L/usr/local/clang18/lib/x86_64-unknown-linux-gnu -o lda.so cvb0.o gibbs.o
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-devel/lda/src'
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-devel/lda/src'
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-devel/lda/src'
installing to /data/gannet/ripley/R/packages/tests-devel/lda.Rcheck/00LOCK-lda/00new/lda/libs
** R
** data
** demo
** 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
** 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 (lda)