* installing to library ‘/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages’
* installing *source* package ‘lda’ ...
** package ‘lda’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C compiler: ‘gcc-14 (Debian 14.2.0-8) 14.2.0’
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpMmqM6Z/R.INSTALL2d8bdd15d76f95/lda/src'
gcc-14 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c cvb0.c -o cvb0.o
gcc-14 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c gibbs.c -o gibbs.o
gibbs.c: In function ‘collapsedGibbsSampler’:
gibbs.c:739:22: warning: ‘classN’ may be used uninitialized [-Wmaybe-uninitialized]
  739 |         for (ww=0; ww< classN; ww++){
      |                    ~~^~~~~~~~
gibbs.c:536:7: note: ‘classN’ was declared here
  536 |   int classN; //number of classes in sLDA minus 1
      |       ^~~~~~
gibbs.c:834:15: warning: ‘nbeta_one’ may be used uninitialized [-Wmaybe-uninitialized]
  834 |               INTEGER(nbeta_one)[K * (*z) + (*z2)]--;
      |               ^~~~~~~~~~~~~~~~~~
gibbs.c:592:8: note: ‘nbeta_one’ was declared here
  592 |   SEXP nbeta_one, nbeta_zero;
      |        ^~~~~~~~~
gibbs.c:836:15: warning: ‘nbeta_zero’ may be used uninitialized [-Wmaybe-uninitialized]
  836 |               INTEGER(nbeta_zero)[K * (*z) + (*z2)]--;
      |               ^~~~~~~~~~~~~~~~~~~
gibbs.c:592:19: note: ‘nbeta_zero’ was declared here
  592 |   SEXP nbeta_one, nbeta_zero;
      |                   ^~~~~~~~~~
gibbs.c:823:21: warning: ‘nassignments_left’ may be used uninitialized [-Wmaybe-uninitialized]
  823 |           int* z = &INTEGER(nassignments_left)[nd * dd + ww];
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~
gibbs.c:593:8: note: ‘nassignments_left’ was declared here
  593 |   SEXP nassignments_left, nassignments_right;
      |        ^~~~~~~~~~~~~~~~~
gibbs.c:824:22: warning: ‘nassignments_right’ may be used uninitialized [-Wmaybe-uninitialized]
  824 |           int* z2 = &INTEGER(nassignments_right)[nd * ww + dd];
      |                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~
gibbs.c:593:27: note: ‘nassignments_right’ was declared here
  593 |   SEXP nassignments_left, nassignments_right;
      |                           ^~~~~~~~~~~~~~~~~~
In file included from /home/hornik/tmp/R.check/r-release-gcc/Work/build/include/R.h:73,
                 from gibbs.c:1:
/home/hornik/tmp/R.check/r-release-gcc/Work/build/include/R_ext/Error.h:68:15: warning: ‘sumcn’ may be used uninitialized [-Wmaybe-uninitialized]
   68 | #define error Rf_error
gibbs.c:1064:11: note: in expansion of macro ‘error’
 1064 |           error("Numerical problems (%g, %g, %g).", dv[dd],
      |           ^~~~~
gibbs.c:989:16: note: ‘sumcn’ was declared here
  989 |         double sumcn;
      |                ^~~~~
gcc-14 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c lda-init.c -o lda-init.o
gcc-14 -shared -L/home/hornik/tmp/R.check/r-release-gcc/Work/build/lib -Wl,-O1 -o lda.so cvb0.o gibbs.o lda-init.o -L/home/hornik/tmp/R.check/r-release-gcc/Work/build/lib -lR
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpMmqM6Z/R.INSTALL2d8bdd15d76f95/lda/src'
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpMmqM6Z/R.INSTALL2d8bdd15d76f95/lda/src'
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpMmqM6Z/R.INSTALL2d8bdd15d76f95/lda/src'
installing to /home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/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)