* installing to library ‘/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages’
* installing *source* package ‘hbmem’ ...
** this is package ‘hbmem’ version ‘0.3-4’
** package ‘hbmem’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C compiler: ‘gcc-14 (Debian 14.3.0-8) 14.3.0’
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpaaL6hR/R.INSTALL11e16e176bb95e/hbmem/src'
gcc-14 -std=gnu23 -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 dpsd.c -o dpsd.o
gcc-14 -std=gnu23 -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 dpsd2.c -o dpsd2.o
gcc-14 -std=gnu23 -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 gamma.c -o gamma.o
gamma.c: In function ‘rtruncgamma’:
gamma.c:7:24: warning: unused variable ‘s’ [-Wunused-variable]
7 | double lower,upper,u,s;
| ^
gamma.c: In function ‘sampleGamma’:
gamma.c:49:10: warning: unused variable ‘accept’ [-Wunused-variable]
49 | double accept;
| ^~~~~~
gamma.c: In function ‘logLikeGammaLike’:
gamma.c:226:16: warning: unused variable ‘scaleN’ [-Wunused-variable]
226 | double scale,scaleN=1,scaleS,crit[7];
| ^~~~~~
gamma.c: In function ‘samplePosGamma’:
gamma.c:250:10: warning: unused variable ‘accept’ [-Wunused-variable]
250 | double accept;
| ^~~~~~
In file included from gamma.c:2:
gamma.c: In function ‘logLikeGamma’:
/home/hornik/tmp/R.check/r-release-gcc/Work/build/include/Rmath.h:281:25: warning: ‘scale’ may be used uninitialized [-Wmaybe-uninitialized]
281 | #define pgamma Rf_pgamma
gamma.c:42:61: note: in expansion of macro ‘pgamma’
42 | like[r]=log(pgamma(crit[dat[r]+1],shape[0],scale,1,0)-pgamma(crit[dat[r]],shape[0],scale,1,0));
| ^~~~~~
gamma.c:26:10: note: ‘scale’ was declared here
26 | double scale,crit[7];
| ^~~~~
gcc-14 -std=gnu23 -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 normal.c -o normal.o
normal.c: In function ‘rtruncnorm’:
normal.c:28:27: warning: unused variable ‘sample’ [-Wunused-variable]
28 | long double lower,upper,sample,unif;
| ^~~~~~
normal.c: In function ‘sampleNormalb’:
normal.c:293:21: warning: unused variable ‘ycov’ [-Wunused-variable]
293 | double sumY=0,ycov=0;
| ^~~~
normal.c:198:15: warning: unused variable ‘v’ [-Wunused-variable]
198 | int n,r,i,j,v;
| ^
normal.c: In function ‘sampleSigma2b’:
normal.c:364:21: warning: unused variable ‘sigma2’ [-Wunused-variable]
364 | double mean[R[0]],sigma2[R[0]];
| ^~~~~~
normal.c:353:12: warning: unused variable ‘S’ [-Wunused-variable]
353 | double a,S=0,postB;
| ^
normal.c:353:10: warning: unused variable ‘a’ [-Wunused-variable]
353 | double a,S=0,postB;
| ^
gcc-14 -std=gnu23 -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 registerDynamicSymbol.c -o registerDynamicSymbol.o
gcc-14 -std=gnu23 -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 uvsd.c -o uvsd.o
gcc-14 -std=gnu23 -shared -L/home/hornik/tmp/R.check/r-release-gcc/Work/build/lib -Wl,-O1 -o hbmem.so dpsd.o dpsd2.o gamma.o normal.o registerDynamicSymbol.o uvsd.o -L/home/hornik/tmp/R.check/r-release-gcc/Work/build/lib -lR
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpaaL6hR/R.INSTALL11e16e176bb95e/hbmem/src'
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpaaL6hR/R.INSTALL11e16e176bb95e/hbmem/src'
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpaaL6hR/R.INSTALL11e16e176bb95e/hbmem/src'
installing to /home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/00LOCK-hbmem/00new/hbmem/libs
** R
** data
** 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 (hbmem)