* installing *source* package ‘weightedScores’ ...
** package ‘weightedScores’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C compiler: ‘gcc-14 (GCC) 14.1.0’
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-devel/weightedScores/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 mvnapp.c -o mvnapp.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 mvnscher.c -o mvnscher.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 mvnsub.c -o mvnsub.o
mvnsub.c: In function 'mvn2':
mvnsub.c:253:11: warning: variable 'rr' set but not used [-Wunused-but-set-variable]
  253 |    double rr[M][M];
      |           ^~
mvnsub.c: In function 'approx2':
mvnsub.c:411:24: warning: variable 'm1' set but not used [-Wunused-but-set-variable]
  411 |    int ii,a1,a2,a3,idt,m1,a4;
      |                        ^~
mvnsub.c: In function 'nexper':
mvnsub.c:488:15: warning: variable 'nm3' set but not used [-Wunused-but-set-variable]
  488 | { int s,d,i,j,nm3,j1,j2,ia,l,i1,m;
      |               ^~~
mvnsub.c:516:7: warning: 'l' may be used uninitialized [-Wmaybe-uninitialized]
  516 |      a[l]=ia; a[i1]=m; *even=1; return;
      |       ^
mvnsub.c:488:28: note: 'l' was declared here
  488 | { int s,d,i,j,nm3,j1,j2,ia,l,i1,m;
      |                            ^
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 pbnorm.c -o pbnorm.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 phi.c -o phi.o
pbnorm.c: In function 'bivnor':
pbnorm.c:27:8: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
   27 |        if(b<0.) b=0.; if(b>1.) b=1.; return(b);
      |        ^~
pbnorm.c:27:23: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
   27 |        if(b<0.) b=0.; if(b>1.) b=1.; return(b);
      |                       ^~
pbnorm.c:32:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
   32 |         if(b<0.) b=0.; if(b>1.) b=1.; return(b);
      |         ^~
pbnorm.c:32:24: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
   32 |         if(b<0.) b=0.; if(b>1.) b=1.; return(b);
      |                        ^~
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 pmnorm.c -o pmnorm.o
pmnorm.c:26:27: warning: missing braces around initializer [-Wmissing-braces]
   26 | static double  coef[6][4]={0.0, 0.0, 0.0, 0.0,
      |                           ^
      |                            {                 }
   27 |         0.0, 0.311111111111111, 0.333333333333333, 0.5,
      |         {                                             }
   28 |         0.0, 1.422222222222222, 0.0, 0.0,
      |         {                               }
   29 |         0.0, 0.533333333333333, 1.333333333333333, 0.0,
      |         {                                             }
   30 |         0.0, 1.422222222222222, 0.0, 0.0,
      |         {                               }
   31 |         0.0, 0.311111111111111, 0.333333333333333, 0.5 };
      |         {                                              }
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 pnorms.c -o pnorms.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 posdef.c -o posdef.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 r_mvn1der.c -o r_mvn1der.o
r_mvn1der.c: In function 'r_mvndu':
r_mvn1der.c:112:20: warning: 'b' may be used uninitialized [-Wmaybe-uninitialized]
  112 |   if((*ksign)>0) bb=b[m]; else bb=a[m];
      |                  ~~^~~~~
r_mvn1der.c:77:30: note: 'b' declared here
   77 |   double rr[M][M],mu[M],a[M],b[M],rc[M][M],dd[M];
      |                              ^
r_mvn1der.c:112:34: warning: 'a' may be used uninitialized [-Wmaybe-uninitialized]
  112 |   if((*ksign)>0) bb=b[m]; else bb=a[m];
      |                                ~~^~~~~
r_mvn1der.c:77:25: note: 'a' declared here
   77 |   double rr[M][M],mu[M],a[M],b[M],rc[M][M],dd[M];
      |                         ^
r_mvn1der.c: In function 'r_mvndrh':
r_mvn1der.c:189:25: warning: 'b' may be used uninitialized [-Wmaybe-uninitialized]
  189 |       tem=b[m1]; b[m1]=b[j1]; b[j1]=tem;
      |                        ~^~~~
r_mvn1der.c:152:24: note: 'b' declared here
  152 |   double rr[M][M],a[M],b[M],rc[M][M],dd[M];
      |                        ^
r_mvn1der.c:188:25: warning: 'a' may be used uninitialized [-Wmaybe-uninitialized]
  188 |       tem=a[m1]; a[m1]=a[j1]; a[j1]=tem;
      |                        ~^~~~
r_mvn1der.c:152:19: note: 'a' declared here
  152 |   double rr[M][M],a[M],b[M],rc[M][M],dd[M];
      |                   ^
r_mvn1der.c:220:5: warning: 'rr' may be used uninitialized [-Wmaybe-uninitialized]
  220 |   rh=rr[m1][m]; r1=1./(1.-rh*rh);
      |   ~~^~~~~~~~~~
r_mvn1der.c:152:10: note: 'rr' declared here
  152 |   double rr[M][M],a[M],b[M],rc[M][M],dd[M];
      |          ^~
r_mvn1der.c:258:20: warning: 'a' may be used uninitialized [-Wmaybe-uninitialized]
  258 |   if(a[m1]>-6. && a[m]>-6.)
      |                   ~^~~
r_mvn1der.c:152:19: note: 'a' declared here
  152 |   double rr[M][M],a[M],b[M],rc[M][M],dd[M];
      |                   ^
r_mvn1der.c:258:7: warning: 'a' may be used uninitialized [-Wmaybe-uninitialized]
  258 |   if(a[m1]>-6. && a[m]>-6.)
      |      ~^~~~
r_mvn1der.c:152:19: note: 'a' declared here
  152 |   double rr[M][M],a[M],b[M],rc[M][M],dd[M];
      |                   ^
r_mvn1der.c:189:10: warning: 'b' may be used uninitialized [-Wmaybe-uninitialized]
  189 |       tem=b[m1]; b[m1]=b[j1]; b[j1]=tem;
      |       ~~~^~~~~~
r_mvn1der.c:152:24: note: 'b' declared here
  152 |   double rr[M][M],a[M],b[M],rc[M][M],dd[M];
      |                        ^
r_mvn1der.c:188:10: warning: 'a' may be used uninitialized [-Wmaybe-uninitialized]
  188 |       tem=a[m1]; a[m1]=a[j1]; a[j1]=tem;
      |       ~~~^~~~~~
r_mvn1der.c:152:19: note: 'a' declared here
  152 |   double rr[M][M],a[M],b[M],rc[M][M],dd[M];
      |                   ^
pmnorm.c: In function 'mulnor':
pmnorm.c:174:10: warning: 'simps' may be used uninitialized [-Wmaybe-uninitialized]
  174 |        if(simps==0)
      |          ^
pmnorm.c:45:9: note: 'simps' was declared here
   45 |     int simps,ipr;
      |         ^~~~~
pmnorm.c:321:14: warning: 'rho' may be used uninitialized [-Wmaybe-uninitialized]
  321 |     ans[l] = bivnor(x1, x2, rho);
      |              ^~~~~~~~~~~~~~~~~~~
pmnorm.c:47:34: note: 'rho' was declared here
   47 |      eplos, epsi, ept, fac, fsa, rho, sigc, t, tem, temb, temp, wb,
      |                                  ^~~
pmnorm.c:318:8: warning: 'sd[1]' may be used uninitialized [-Wmaybe-uninitialized]
  318 |     x1 = fac * (xss[nm1][nm1] - d[1]) / sd[1];
      |     ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pmnorm.c:37:32: note: 'sd[1]' was declared here
   37 |     double c[8], d[8], co[26], sd[3];
      |                                ^~
pmnorm.c:319:8: warning: 'sd[2]' may be used uninitialized [-Wmaybe-uninitialized]
  319 |     x2 = fac * (xss[nm2][nm1] - d[2]) / sd[2];
      |     ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pmnorm.c:37:32: note: 'sd[2]' was declared here
   37 |     double c[8], d[8], co[26], sd[3];
      |                                ^~
pmnorm.c:226:22: warning: 'mjs' may be used uninitialized [-Wmaybe-uninitialized]
  226 |        {  for(i=njs;i<=mjs;i++)
      |                     ~^~~~~
pmnorm.c:63:41: note: 'mjs' was declared here
   63 |     int i,j,k,ij,ik,jk,l,jn,nm1,nm2,inj,mjs,ll,iend,igo,indl,ien,ijk,ni;
      |                                         ^~~
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 r_mvn2der.c -o r_mvn2der.o
r_mvn2der.c: In function 'r_mvndu2':
r_mvn2der.c:112:20: warning: 'b' may be used uninitialized [-Wmaybe-uninitialized]
  112 |   if((*ksign)>0) bb=b[m]; else bb=a[m];
      |                  ~~^~~~~
r_mvn2der.c:78:30: note: 'b' declared here
   78 |   double rr[M][M],mu[M],a[M],b[M],rc[M][M],dd[M];
      |                              ^
r_mvn2der.c:112:34: warning: 'a' may be used uninitialized [-Wmaybe-uninitialized]
  112 |   if((*ksign)>0) bb=b[m]; else bb=a[m];
      |                                ~~^~~~~
r_mvn2der.c:78:25: note: 'a' declared here
   78 |   double rr[M][M],mu[M],a[M],b[M],rc[M][M],dd[M];
      |                         ^
r_mvn2der.c: In function 'r_mvndrh2':
r_mvn2der.c:188:25: warning: 'b' may be used uninitialized [-Wmaybe-uninitialized]
  188 |       tem=b[m1]; b[m1]=b[j1]; b[j1]=tem;
      |                        ~^~~~
r_mvn2der.c:151:24: note: 'b' declared here
  151 |   double rr[M][M],a[M],b[M],rc[M][M],dd[M];
      |                        ^
r_mvn2der.c:187:25: warning: 'a' may be used uninitialized [-Wmaybe-uninitialized]
  187 |       tem=a[m1]; a[m1]=a[j1]; a[j1]=tem;
      |                        ~^~~~
r_mvn2der.c:151:19: note: 'a' declared here
  151 |   double rr[M][M],a[M],b[M],rc[M][M],dd[M];
      |                   ^
r_mvn2der.c:219:5: warning: 'rr' may be used uninitialized [-Wmaybe-uninitialized]
  219 |   rh=rr[m1][m]; r1=1./(1.-rh*rh);
      |   ~~^~~~~~~~~~
r_mvn2der.c:151:10: note: 'rr' declared here
  151 |   double rr[M][M],a[M],b[M],rc[M][M],dd[M];
      |          ^~
r_mvn2der.c:257:20: warning: 'a' may be used uninitialized [-Wmaybe-uninitialized]
  257 |   if(a[m1]>-6. && a[m]>-6.)
      |                   ~^~~
r_mvn2der.c:151:19: note: 'a' declared here
  151 |   double rr[M][M],a[M],b[M],rc[M][M],dd[M];
      |                   ^
r_mvn2der.c:257:7: warning: 'a' may be used uninitialized [-Wmaybe-uninitialized]
  257 |   if(a[m1]>-6. && a[m]>-6.)
      |      ~^~~~
r_mvn2der.c:151:19: note: 'a' declared here
  151 |   double rr[M][M],a[M],b[M],rc[M][M],dd[M];
      |                   ^
r_mvn2der.c:188:10: warning: 'b' may be used uninitialized [-Wmaybe-uninitialized]
  188 |       tem=b[m1]; b[m1]=b[j1]; b[j1]=tem;
      |       ~~~^~~~~~
r_mvn2der.c:151:24: note: 'b' declared here
  151 |   double rr[M][M],a[M],b[M],rc[M][M],dd[M];
      |                        ^
r_mvn2der.c:187:10: warning: 'a' may be used uninitialized [-Wmaybe-uninitialized]
  187 |       tem=a[m1]; a[m1]=a[j1]; a[j1]=tem;
      |       ~~~^~~~~~
r_mvn2der.c:151:19: note: 'a' declared here
  151 |   double rr[M][M],a[M],b[M],rc[M][M],dd[M];
      |                   ^
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 weightedScores.so mvnapp.o mvnscher.o mvnsub.o pbnorm.o phi.o pmnorm.o pnorms.o posdef.o r_mvn1der.o r_mvn2der.o
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-devel/weightedScores/src'
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-devel/weightedScores/src'
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-devel/weightedScores/src'
installing to /data/gannet/ripley/R/packages/tests-devel/weightedScores.Rcheck/00LOCK-weightedScores/00new/weightedScores/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 (weightedScores)