* installing to library ‘/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages’
* installing *source* package ‘weightedScores’ ...
** package ‘weightedScores’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C compiler: ‘gcc-13 (Debian 13.3.0-1) 13.3.0’
make[1]: Entering directory '/tmp/Rtmp4YUC7j/R.INSTALL1d122835f5f34e/weightedScores/src'
gcc-13 -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 mvnapp.c -o mvnapp.o
gcc-13 -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 mvnscher.c -o mvnscher.o
gcc-13 -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 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-13 -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 pbnorm.c -o pbnorm.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-13 -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 phi.c -o phi.o
gcc-13 -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 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 };
      |         {                                              }
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-13 -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 pnorms.c -o pnorms.o
gcc-13 -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 posdef.c -o posdef.o
gcc-13 -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 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: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];
      |                   ^
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: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];
      |                   ^
gcc-13 -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 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: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];
      |                   ^
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: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];
      |                   ^
gcc-13 -shared -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -Wl,-O1 -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 -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -lR
make[1]: Leaving directory '/tmp/Rtmp4YUC7j/R.INSTALL1d122835f5f34e/weightedScores/src'
make[1]: Entering directory '/tmp/Rtmp4YUC7j/R.INSTALL1d122835f5f34e/weightedScores/src'
make[1]: Leaving directory '/tmp/Rtmp4YUC7j/R.INSTALL1d122835f5f34e/weightedScores/src'
installing to /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/00LOCK-weightedScores/00new/weightedScores/libs
** R
** data
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
  converting help for package ‘weightedScores’
    finding HTML links ... done
    CLIC                                    html  
    approxbvncdf                            html  
    arthritis                               html  
    bcl                                     html  
    childvisit                              html  
    cl1                                     html  
    godambe                                 html  
    iee                                     html  
    iee.ord                                 html  
    marglik                                 html  
    margmodel                               html  
    mvn.deriv                               html  
    mvnapp                                  html  
    scoreCov                                html  
    solvewtsc                               html  
    toenail                                 html  
    weightMat                               html  
    weightedScores-package                  html  
    wtsc                                    html  
    wtsc.wrapper                            html  
** 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)