* installing to library ‘/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages’
* installing *source* package ‘collpcm’ ...
** this is package ‘collpcm’ version ‘1.4’
** package ‘collpcm’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C compiler: ‘gcc-14 (Debian 14.3.0-10) 14.3.0’
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpdMC6ak/R.INSTALL1372c613582807/collpcm/src'
gcc-14 -std=gnu23 -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 GaussianMixtureModel.c -o GaussianMixtureModel.o
GaussianMixtureModel.c: In function ‘update_allocations_with_ejection_move’:
GaussianMixtureModel.c:1338:36: warning: ‘indexes’ may be used uninitialized [-Wmaybe-uninitialized]
1338 | ii = indexes[i];
| ~~~^~~~~~~~~~~~
GaussianMixtureModel.c:1215:14: note: ‘indexes’ was declared here
1215 | int *indexes,*proposed_allocation,G = mixmod->G;
| ^~~~~~~
GaussianMixtureModel.c:1339:68: warning: ‘proposed_allocation’ may be used uninitialized [-Wmaybe-uninitialized]
1339 | mixmod->z[ii] = proposed_allocation[i];
| ~~~~~~~~~~~~~~~~~~~^~~
GaussianMixtureModel.c:1215:23: note: ‘proposed_allocation’ was declared here
1215 | int *indexes,*proposed_allocation,G = mixmod->G;
| ^~~~~~~~~~~~~~~~~~~
gcc-14 -std=gnu23 -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 NetworkLib.c -o NetworkLib.o
NetworkLib.c: In function ‘put_latentpositions’:
NetworkLib.c:73:80: warning: ‘X’ may be used uninitialized [-Wmaybe-uninitialized]
73 | for( k=0; k<d; k++ ) a += ( X[i][k] - X[j][k] ) * ( X[i][k] - X[j][k] ) ;
| ~^~~
NetworkLib.c:43:18: note: ‘X’ was declared here
43 | double **X, *x, a;
| ^
NetworkLib.c:43:22: warning: ‘x’ may be used uninitialized [-Wmaybe-uninitialized]
43 | double **X, *x, a;
| ^
NetworkLib.c: In function ‘dist_update’:
NetworkLib.c:258:39: warning: ‘x’ may be used uninitialized [-Wmaybe-uninitialized]
258 | dist[i][j] = x[i] - x[j] ;
| ^
NetworkLib.c:229:22: note: ‘x’ was declared here
229 | double **X, *x, **dist = nw->dist, a ;
| ^
gcc-14 -std=gnu23 -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 cat.c -o cat.o
gcc-14 -std=gnu23 -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 collapsed_lpcm.c -o collapsed_lpcm.o
collapsed_lpcm.c:16:40: warning: missing braces around initializer [-Wmissing-braces]
16 | static const R_CMethodDef cMethods[] = {
| ^
collapsed_lpcm.c: In function ‘collapsed_lpcm’:
collapsed_lpcm.c:32:16: warning: variable ‘tinit’ set but not used [-Wunused-but-set-variable]
32 | double tinit, lps;
| ^~~~~
gcc-14 -std=gnu23 -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 nrutil.c -o nrutil.o
gcc-14 -std=gnu23 -shared -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -Wl,-O1 -o collpcm.so GaussianMixtureModel.o NetworkLib.o cat.o collapsed_lpcm.o nrutil.o -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -lR
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpdMC6ak/R.INSTALL1372c613582807/collpcm/src'
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpdMC6ak/R.INSTALL1372c613582807/collpcm/src'
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpdMC6ak/R.INSTALL1372c613582807/collpcm/src'
installing to /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/00LOCK-collpcm/00new/collpcm/libs
** R
** data
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
converting help for package ‘collpcm’
finding HTML links ... done
Dolphins html
Karate html
Monks html
collpcm.control html
collpcm.fit html
collpcm.summaryplot html
collpcm.undo.label.switching html
plot.collpcm html
print.collpcm html
summary.collpcm html
** 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 (collpcm)