* installing *source* package ‘event’ ...
** package ‘event’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C compiler: ‘gcc-14 (GCC) 14.2.0’
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-devel/event/src'
gcc-14 -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 event_init.c -o event_init.o
gcc-14 -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 ksurvb.c -o ksurvb.o
ksurvb.c: In function 'ksurvb':
ksurvb.c:213:18: warning: 'omega' may be used uninitialized [-Wmaybe-uninitialized]
  213 |         case 7: a=omega*a1; break;
      |                 ~^~~~~~~~~
ksurvb.c:51:33: note: 'omega' was declared here
   51 |   double a,a1,b,b1,delta,lambda,omega,om,beta,bt,h,yy,tmp,ly,plap,intercept,
      |                                 ^~~~~
ksurvb.c:181:41: warning: 'family' may be used uninitialized [-Wmaybe-uninitialized]
  181 |         if(*pfamily)*like-=(c>0)*(family-c)*log(b1)-a*(pow(b1,family)-pow(b,family))/family;
      |                                  ~~~~~~~^~~
ksurvb.c:52:5: note: 'family' was declared here
   52 |     family;
      |     ^~~~~~
ksurvb.c:158:84: warning: 'intercept' may be used uninitialized [-Wmaybe-uninitialized]
  158 |             h=-yy/lambda+(1/(lambda*bt)+1)*log((lambda+intercept)/(lambda+intercept*exp(-bt*yy)));
      |                                                                           ~~~~~~~~~^~~~~~~~~~~~
ksurvb.c:51:67: note: 'intercept' was declared here
   51 |   double a,a1,b,b1,delta,lambda,omega,om,beta,bt,h,yy,tmp,ly,plap,intercept,
      |                                                                   ^~~~~~~~~
ksurvb.c:98:20: warning: 'Rf_beta' may be used uninitialized [-Wmaybe-uninitialized]
   98 |             else bt+=beta;}
In file included from ksurvb.c:43:
/data/gannet/ripley/R/R-devel/include/Rmath.h:212:25: note: 'Rf_beta' was declared here
  212 | #define beta            Rf_beta
      |                         ^~~~~~~
ksurvb.c:51:42: note: in expansion of macro 'beta'
   51 |   double a,a1,b,b1,delta,lambda,omega,om,beta,bt,h,yy,tmp,ly,plap,intercept,
      |                                          ^~~~
ksurvb.c:173:17: warning: 'lambda' may be used uninitialized [-Wmaybe-uninitialized]
  173 |             tmp=exp(-fabs(ly-bt)/lambda)/2;
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~
ksurvb.c:51:26: note: 'lambda' was declared here
   51 |   double a,a1,b,b1,delta,lambda,omega,om,beta,bt,h,yy,tmp,ly,plap,intercept,
      |                          ^~~~~~
ksurvb.c:174:26: warning: 'ly' may be used uninitialized [-Wmaybe-uninitialized]
  174 |             b1+=ly<bt?tmp:1-tmp;
      |                 ~~~~~~~~~^~~~~~
ksurvb.c:51:59: note: 'ly' was declared here
   51 |   double a,a1,b,b1,delta,lambda,omega,om,beta,bt,h,yy,tmp,ly,plap,intercept,
      |                                                           ^~
ksurvb.c:174:26: warning: 'bt' may be used uninitialized [-Wmaybe-uninitialized]
  174 |             b1+=ly<bt?tmp:1-tmp;
      |                 ~~~~~~~~~^~~~~~
ksurvb.c:51:47: note: 'bt' was declared here
   51 |   double a,a1,b,b1,delta,lambda,omega,om,beta,bt,h,yy,tmp,ly,plap,intercept,
      |                                               ^~
ksurvb.c:178:71: warning: 'h' may be used uninitialized [-Wmaybe-uninitialized]
  178 |         *like-=(c>1?lgammafn(a1)-lgammafn(a)-lgammafn(c+1):c*log(a))+c*h;
      |                                                                      ~^~
ksurvb.c:51:50: note: 'h' was declared here
   51 |   double a,a1,b,b1,delta,lambda,omega,om,beta,bt,h,yy,tmp,ly,plap,intercept,
      |                                                  ^
ksurvb.c:217:21: warning: 'om' may be used uninitialized [-Wmaybe-uninitialized]
  217 |         case 2: b=om*b1+(1-om)*delta; break;
      |                   ~~^~~
ksurvb.c:51:39: note: 'om' was declared here
   51 |   double a,a1,b,b1,delta,lambda,omega,om,beta,bt,h,yy,tmp,ly,plap,intercept,
      |                                       ^~
ksurvb.c: In function 'frailb':
ksurvb.c:340:68: warning: 'intercept' may be used uninitialized [-Wmaybe-uninitialized]
  340 |             l1+=-yy/lambda+log((lambda+intercept)/(lambda+intercept*exp(-bt*yy)))/((lambda*bt)+1);
      |                                                           ~~~~~~~~~^~~~~~~~~~~~
ksurvb.c:233:55: note: 'intercept' was declared here
  233 |   double b1,delta,lambda,beta,bt,l1,yy,nb,ly,plap,tmp,intercept,H,btp,res;
      |                                                       ^~~~~~~~~
ksurvb.c:257:9: warning: 'Rf_beta' may be used uninitialized [-Wmaybe-uninitialized]
  257 |       nb/=beta;}
/data/gannet/ripley/R/R-devel/include/Rmath.h:212:25: note: 'Rf_beta' was declared here
  212 | #define beta            Rf_beta
      |                         ^~~~~~~
ksurvb.c:233:26: note: in expansion of macro 'beta'
  233 |   double b1,delta,lambda,beta,bt,l1,yy,nb,ly,plap,tmp,intercept,H,btp,res;
      |                          ^~~~
ksurvb.c:355:17: warning: 'lambda' may be used uninitialized [-Wmaybe-uninitialized]
  355 |             tmp=exp(-fabs(ly-bt)/lambda)/2;
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~
ksurvb.c:233:19: note: 'lambda' was declared here
  233 |   double b1,delta,lambda,beta,bt,l1,yy,nb,ly,plap,tmp,intercept,H,btp,res;
      |                   ^~~~~~
ksurvb.c:266:25: warning: 'yy' may be used uninitialized [-Wmaybe-uninitialized]
  266 |         if(*model>=5)ly=log(yy);
      |                         ^~~~~~~
ksurvb.c:233:37: note: 'yy' was declared here
  233 |   double b1,delta,lambda,beta,bt,l1,yy,nb,ly,plap,tmp,intercept,H,btp,res;
      |                                     ^~
ksurvb.c:356:24: warning: 'ly' may be used uninitialized [-Wmaybe-uninitialized]
  356 |             H=ly<bt?tmp:1-tmp;
      |               ~~~~~~~~~^~~~~~
ksurvb.c:233:43: note: 'ly' was declared here
  233 |   double b1,delta,lambda,beta,bt,l1,yy,nb,ly,plap,tmp,intercept,H,btp,res;
      |                                           ^~
ksurvb.c:284:20: warning: 'bt' may be used uninitialized [-Wmaybe-uninitialized]
  284 |             bt=exp(log(bt)+exp(p[*nccov+*birth+*tvc+2]*y[nm])*res);
      |                    ^~~~~~~
ksurvb.c:233:31: note: 'bt' was declared here
  233 |   double b1,delta,lambda,beta,bt,l1,yy,nb,ly,plap,tmp,intercept,H,btp,res;
      |                               ^~
ksurvb.c:390:11: warning: 'H' may be used uninitialized [-Wmaybe-uninitialized]
  390 |         b1+=H;
      |         ~~^~~
ksurvb.c:233:65: note: 'H' was declared here
  233 |   double b1,delta,lambda,beta,bt,l1,yy,nb,ly,plap,tmp,intercept,H,btp,res;
      |                                                                 ^
gcc-14 -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 ksurvg.c -o ksurvg.o
ksurvg.c: In function 'ksurvg':
ksurvg.c:209:18: warning: 'omega' may be used uninitialized [-Wmaybe-uninitialized]
  209 |         case 7: a=omega*a1; break;
      |                 ~^~~~~~~~~
ksurvg.c:46:32: note: 'omega' was declared here
   46 |   double a,a1,b,H,delta,lambda,omega,om,beta,bt,l1,yy,ly,plap,tmp,
      |                                ^~~~~
ksurvg.c:148:72: warning: 'intercept' may be used uninitialized [-Wmaybe-uninitialized]
  148 |             l1=exp(-yy/lambda)*pow((lambda+intercept)/(lambda+intercept*exp(-bt*yy)),1/(lambda*bt)+1);
      |                                                               ~~~~~~~~~^~~~~~~~~~~~
ksurvg.c:47:5: note: 'intercept' was declared here
   47 |     intercept;
      |     ^~~~~~~~~
ksurvg.c:88:20: warning: 'Rf_beta' may be used uninitialized [-Wmaybe-uninitialized]
   88 |             else bt+=beta;}
In file included from ksurvg.c:38:
/data/gannet/ripley/R/R-devel/include/Rmath.h:212:25: note: 'Rf_beta' was declared here
  212 | #define beta            Rf_beta
      |                         ^~~~~~~
ksurvg.c:46:41: note: in expansion of macro 'beta'
   46 |   double a,a1,b,H,delta,lambda,omega,om,beta,bt,l1,yy,ly,plap,tmp,
      |                                         ^~~~
ksurvg.c:163:17: warning: 'lambda' may be used uninitialized [-Wmaybe-uninitialized]
  163 |             tmp=exp(-fabs(ly-bt)/lambda)/2;
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~
ksurvg.c:46:25: note: 'lambda' was declared here
   46 |   double a,a1,b,H,delta,lambda,omega,om,beta,bt,l1,yy,ly,plap,tmp,
      |                         ^~~~~~
ksurvg.c:164:24: warning: 'ly' may be used uninitialized [-Wmaybe-uninitialized]
  164 |             H=ly<bt?tmp:1-tmp;
      |               ~~~~~~~~~^~~~~~
ksurvg.c:46:55: note: 'ly' was declared here
   46 |   double a,a1,b,H,delta,lambda,omega,om,beta,bt,l1,yy,ly,plap,tmp,
      |                                                       ^~
ksurvg.c:164:24: warning: 'bt' may be used uninitialized [-Wmaybe-uninitialized]
  164 |             H=ly<bt?tmp:1-tmp;
      |               ~~~~~~~~~^~~~~~
ksurvg.c:46:46: note: 'bt' was declared here
   46 |   double a,a1,b,H,delta,lambda,omega,om,beta,bt,l1,yy,ly,plap,tmp,
      |                                              ^~
ksurvg.c:169:11: warning: 'H' may be used uninitialized [-Wmaybe-uninitialized]
  169 |         if(H<1e-20)H=1e-20;
      |           ^
ksurvg.c:46:17: note: 'H' was declared here
   46 |   double a,a1,b,H,delta,lambda,omega,om,beta,bt,l1,yy,ly,plap,tmp,
      |                 ^
ksurvg.c:46:49: warning: 'l1' may be used uninitialized [-Wmaybe-uninitialized]
   46 |   double a,a1,b,H,delta,lambda,omega,om,beta,bt,l1,yy,ly,plap,tmp,
      |                                                 ^~
ksurvg.c:213:19: warning: 'om' may be used uninitialized [-Wmaybe-uninitialized]
  213 |         case 2: b=pow(H,-om)*delta; break;
      |                   ^~~~~~~~~~
ksurvg.c:46:38: note: 'om' was declared here
   46 |   double a,a1,b,H,delta,lambda,omega,om,beta,bt,l1,yy,ly,plap,tmp,
      |                                      ^~
gcc-14 -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/gcc14/lib64 -L/usr/local/lib64 -o event.so event_init.o ksurvb.o ksurvg.o
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-devel/event/src'
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-devel/event/src'
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-devel/event/src'
installing to /data/gannet/ripley/R/packages/tests-devel/event.Rcheck/00LOCK-event/00new/event/libs
** R
** 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 (event)