* installing to library ‘/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages’
* installing *source* package ‘cdid’ ...
** this is package ‘cdid’ version ‘1.2.0.1’
** package ‘cdid’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C compiler: ‘gcc-16 (Debian 16.2.0-4) 16.2.0’
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpwdPOuQ/R.INSTALL30ea87300aea79/cdid/src'
gcc-16 -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 cdid.c -o cdid.o
cdid.c:5: warning: ignoring ‘#pragma STDC FP_CONTRACT’ [-Wunknown-pragmas]
    5 | #pragma STDC FP_CONTRACT OFF
gcc-16 -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 chained_coarse_pullback.c -o chained_coarse_pullback.o
chained_coarse_pullback.c: In function ‘cr_int’:
chained_coarse_pullback.c:37:3: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
   37 |   if(!R_FINITE(d)||d<min||d>INT_MAX||d!=floor(d)) return 0; *v=(int)d; return 1;
      |   ^~
chained_coarse_pullback.c:37:61: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
   37 |   if(!R_FINITE(d)||d<min||d>INT_MAX||d!=floor(d)) return 0; *v=(int)d; return 1;
      |                                                             ^
chained_coarse_pullback.c: In function ‘cr_ids’:
chained_coarse_pullback.c:40:3: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
   40 |   if(!cr_plain(x,INTSXP)) return 0; int old=0;
      |   ^~
chained_coarse_pullback.c:40:37: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
   40 |   if(!cr_plain(x,INTSXP)) return 0; int old=0;
      |                                     ^~~
chained_coarse_pullback.c: In function ‘cr_functions’:
chained_coarse_pullback.c:58:3: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
   58 |   if(!cr_list(f))return 0; SEXP owner=cr_field(f,".owner"),names=Rf_getAttrib(f,R_NamesSymbol);
      |   ^~
chained_coarse_pullback.c:58:28: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
   58 |   if(!cr_list(f))return 0; SEXP owner=cr_field(f,".owner"),names=Rf_getAttrib(f,R_NamesSymbol);
      |                            ^~~~
chained_coarse_pullback.c: In function ‘cr_factory_names_ok’:
chained_coarse_pullback.c:101:42: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
  101 |   if(ok)for(int j=0;j<8;++j){int found=0;for(int k=0;k<8;++k)
      |                                          ^~~
chained_coarse_pullback.c:103:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
  103 |     if(found!=1){ok=0;break;}}
      |     ^~
chained_coarse_pullback.c: In function ‘cr_reader_code’:
chained_coarse_pullback.c:185:9: warning: this ‘else’ clause does not guard... [-Wmisleading-indentation]
  185 |         else if(!cr_same(CAR(up),CAR(vp)))return 0;up=CDR(up);vp=CDR(vp);}
      |         ^~~~
chained_coarse_pullback.c:185:52: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘else’
  185 |         else if(!cr_same(CAR(up),CAR(vp)))return 0;up=CDR(up);vp=CDR(vp);}
      |                                                    ^~
chained_coarse_pullback.c: In function ‘C_gmm_reconstruction_coarse_create’:
chained_coarse_pullback.c:296:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
  296 |     if(p>peak)peak=p;sum_p+=p;incidence+=XLENGTH(memberids);
      |     ^~
chained_coarse_pullback.c:296:22: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
  296 |     if(p>peak)peak=p;sum_p+=p;incidence+=XLENGTH(memberids);
      |                      ^~~~~
chained_coarse_pullback.c:312:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
  312 |     if(!cr_list(rec))return R_NilValue;SEXP rr=cr_field(rec,"rr");
      |     ^~
chained_coarse_pullback.c:312:40: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
  312 |     if(!cr_list(rec))return R_NilValue;SEXP rr=cr_field(rec,"rr");
      |                                        ^~~~
chained_coarse_pullback.c: In function ‘C_gmm_reconstruction_coarse_pullback’:
chained_coarse_pullback.c:400:7: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
  400 |       for(R_xlen_t k=0;k<XLENGTH(ids);++k)REAL(tl)[INTEGER(ids)[k]-1]=REAL(lam)[k];SET_VECTOR_ELT(tn,g-1,v);UNPROTECT(1);++g;
      |       ^~~
chained_coarse_pullback.c:400:84: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
  400 |       for(R_xlen_t k=0;k<XLENGTH(ids);++k)REAL(tl)[INTEGER(ids)[k]-1]=REAL(lam)[k];SET_VECTOR_ELT(tn,g-1,v);UNPROTECT(1);++g;
      |                                                                                    ^~~~~~~~~~~~~~
chained_coarse_pullback.c:405:9: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
  405 |         if(XLENGTH(cids)>d->nc-nc||XLENGTH(cn)>INT_MAX-nv)break;nc+=XLENGTH(cids);nv+=XLENGTH(cn);
      |         ^~
chained_coarse_pullback.c:405:65: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
  405 |         if(XLENGTH(cids)>d->nc-nc||XLENGTH(cn)>INT_MAX-nv)break;nc+=XLENGTH(cids);nv+=XLENGTH(cn);
      |                                                                 ^~
chained_coarse_pullback.c:406:9: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
  406 |         for(R_xlen_t k=0;k<XLENGTH(cids);++k)REAL(tl)[INTEGER(cids)[k]-1]=REAL(cl)[k];SET_VECTOR_ELT(tn,g-1,cn);++suffix;++g;}
      |         ^~~
chained_coarse_pullback.c:406:87: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
  406 |         for(R_xlen_t k=0;k<XLENGTH(cids);++k)REAL(tl)[INTEGER(cids)[k]-1]=REAL(cl)[k];SET_VECTOR_ELT(tn,g-1,cn);++suffix;++g;}
      |                                                                                       ^~~~~~~~~~~~~~
gcc-16 -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 chained_legacy_ipw_chunk.c -o chained_legacy_ipw_chunk.o
gcc-16 -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 chained_pair_operation.c -o chained_pair_operation.o
gcc-16 -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 chained_score_pullback.c -o chained_score_pullback.o
gcc-16 -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 chained_zero_template.c -o chained_zero_template.o
gcc-16 -shared -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -Wl,-O1 -o cdid.so cdid.o chained_coarse_pullback.o chained_legacy_ipw_chunk.o chained_pair_operation.o chained_score_pullback.o chained_zero_template.o -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -lR
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpwdPOuQ/R.INSTALL30ea87300aea79/cdid/src'
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpwdPOuQ/R.INSTALL30ea87300aea79/cdid/src'
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpwdPOuQ/R.INSTALL30ea87300aea79/cdid/src'
installing to /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/00LOCK-cdid/00new/cdid/libs
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
  converting help for package ‘cdid’
    finding HTML links ... done
    aggte                                   html  
    att_gt                                  html  
    cdid-package                            html  
    conditional_did_pretest                 html  
    reexports                               html  
*** copying figures
** building package indices
** installing vignettes
** 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 (cdid)