* installing to library ‘/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages’
* installing *source* package ‘lda’ ...
** package ‘lda’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C compiler: ‘gcc-13 (Debian 13.2.0-25) 13.2.0’
make[1]: Entering directory '/tmp/RtmptgOvBU/R.INSTALL1d6b551557a6f9/lda/src'
gcc-13 -I"/home/hornik/tmp/R.check/r-patched-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-13 -I"/home/hornik/tmp/R.check/r-patched-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-patched-gcc/Work/build/include/R.h:73,
                 from gibbs.c:1:
/home/hornik/tmp/R.check/r-patched-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-13 -I"/home/hornik/tmp/R.check/r-patched-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-13 -shared -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -Wl,-O1 -o lda.so cvb0.o gibbs.o lda-init.o -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -lR
make[1]: Leaving directory '/tmp/RtmptgOvBU/R.INSTALL1d6b551557a6f9/lda/src'
make[1]: Entering directory '/tmp/RtmptgOvBU/R.INSTALL1d6b551557a6f9/lda/src'
make[1]: Leaving directory '/tmp/RtmptgOvBU/R.INSTALL1d6b551557a6f9/lda/src'
installing to /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/00LOCK-lda/00new/lda/libs
** R
** data
** demo
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
  converting help for package ‘lda’
    finding HTML links ... done
    cora                                    html  
    filter.words                            html  
    lda-package                             html  
    lda.collapsed.gibbs.sampler             html  
    lexicalize                              html  
    links.as.edgelist                       html  
    newsgroups                              html  
    nubbi.collapsed.gibbs.sampler           html  
    poliblog                                html  
    predictive.distribution                 html  
    predictive.link.probability             html  
    read.documents                          html  
    rtm.collapsed.gibbs.sampler             html  
    sampson                                 html  
    slda.predict                            html  
    top.topic.words                         html  
    word.counts                             html  
** 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
* creating tarball
packaged installation of ‘lda’ as ‘lda_1.5.2_R_x86_64-pc-linux-gnu.tar.gz’
* DONE (lda)