* installing *source* package ‘hbmem’ ...
** package ‘hbmem’ 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/hbmem/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 dpsd.c -o dpsd.o
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 dpsd2.c -o dpsd2.o
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 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;
      |          ^~~~~~
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 normal.c -o normal.o
In file included from gamma.c:2:
gamma.c: In function 'logLikeGamma':
/data/gannet/ripley/R/R-devel/include/Rmath.h:270:25: warning: 'scale' may be used uninitialized [-Wmaybe-uninitialized]
  270 | #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];
      |          ^~~~~
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-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 registerDynamicSymbol.c -o registerDynamicSymbol.o
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 uvsd.c -o uvsd.o
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 hbmem.so dpsd.o dpsd2.o gamma.o normal.o registerDynamicSymbol.o uvsd.o
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-devel/hbmem/src'
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-devel/hbmem/src'
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-devel/hbmem/src'
installing to /data/gannet/ripley/R/packages/tests-devel/hbmem.Rcheck/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)