* installing to library ‘/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages’
* installing *source* package ‘cusna’ ...
** this is package ‘cusna’ version ‘0.1.0’
** package ‘cusna’ successfully unpacked and MD5 sums checked
** using staged installation
cusna: no nvcc on PATH -- building CPU-only (the CRAN default).
** libs
specified C++17
using C++ compiler: ‘g++-15 (Debian 15.3.0-1) 15.3.0’
using C++17
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpglJhzW/R.INSTALL34a25c762df4e4/cusna/src'
g++-15 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I. -DLIBCUSNA_BUILD -DCUSNA_CPU_ONLY -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/cpp11/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -fpic  -g -O2 -Wall -pedantic -mtune=native   -c cpp11.cpp -o cpp11.o
g++-15 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I. -DLIBCUSNA_BUILD -DCUSNA_CPU_ONLY -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/cpp11/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -fpic  -g -O2 -Wall -pedantic -mtune=native   -c cusna_glue.cpp -o cusna_glue.o
g++-15 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I. -DLIBCUSNA_BUILD -DCUSNA_CPU_ONLY -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/cpp11/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -fpic  -g -O2 -Wall -pedantic -mtune=native   -c cusna_saom_glue.cpp -o cusna_saom_glue.o
g++-15 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I. -DLIBCUSNA_BUILD -DCUSNA_CPU_ONLY -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/cpp11/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -fpic  -g -O2 -Wall -pedantic -mtune=native   -c libcusna_ergm_cpu.cpp -o libcusna_ergm_cpu.o
g++-15 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I. -DLIBCUSNA_BUILD -DCUSNA_CPU_ONLY -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/cpp11/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -fpic  -g -O2 -Wall -pedantic -mtune=native   -c libcusna_saom_cpu.cpp -o libcusna_saom_cpu.o
libcusna_saom_cpu.cpp: In function ‘double {anonymous}::ego_ds(int, const uint8_t*, int, const long int*, const long int*, long int, const int*, double, double, double, double, double, int, int, double, const double*)’:
libcusna_saom_cpu.cpp:64:19: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
   64 |                   if (tp[j] > 0) ++cnt; return delta * (double)cnt; }
      |                   ^~
libcusna_saom_cpu.cpp:64:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
   64 |                   if (tp[j] > 0) ++cnt; return delta * (double)cnt; }
      |                                         ^~~~~~
libcusna_saom_cpu.cpp:66:19: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
   66 |                   for (int h = 0; h < n; ++h) if (ai[h] && a[(size_t)h*n+i] && aj[h]) ++cnt; return delta * (double)cnt; }
      |                   ^~~
libcusna_saom_cpu.cpp:66:94: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
   66 |                   for (int h = 0; h < n; ++h) if (ai[h] && a[(size_t)h*n+i] && aj[h]) ++cnt; return delta * (double)cnt; }
      |                                                                                              ^~~~~~
libcusna_saom_cpu.cpp: In function ‘void {anonymous}::simulate_one(const Ctx&, uint32_t, uint8_t*, int*, double*, double*, double*, long int*, ChainOut&)’:
libcusna_saom_cpu.cpp:221:17: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
  221 |                 if (up_ok) s -= pup * cup[e]; if (dn_ok) s -= pdn * cdn[e]; bscores[e] += s; }
      |                 ^~
libcusna_saom_cpu.cpp:221:47: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
  221 |                 if (up_ok) s -= pup * cup[e]; if (dn_ok) s -= pdn * cdn[e]; bscores[e] += s; }
      |                                               ^~
libcusna_saom_cpu.cpp: In function ‘cusna_status cusna_network_stats(const uint8_t*, int32_t, int32_t, const int32_t*, const double*, const double*, const double*, const uint8_t*, const int32_t*, const double*, const int32_t*, const int32_t*, const double*, int32_t, double*)’:
libcusna_saom_cpu.cpp:633:9: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
  633 |         if (t==26||t==30) need_fb = true; if (t==27) need_bf = true; if (t==28) need_bb = true; }
      |         ^~
libcusna_saom_cpu.cpp:633:43: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
  633 |         if (t==26||t==30) need_fb = true; if (t==27) need_bf = true; if (t==28) need_bb = true; }
      |                                           ^~
libcusna_saom_cpu.cpp: In function ‘cusna_status cusna_cross_stats(const uint8_t*, const uint8_t*, int32_t, int32_t, int32_t, double, double*)’:
libcusna_saom_cpu.cpp:841:50: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
  841 |             case 34: for (int i = 0; i < n; ++i) for (int j = 0; j < n; ++j)
      |                                                  ^~~
libcusna_saom_cpu.cpp:842:72: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
  842 |                         acc += (a[(size_t)i*n+j] & wp[(size_t)j*n+i]); break;
      |                                                                        ^~~~~
libcusna_saom_cpu.cpp:843:50: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
  843 |             case 35: for (int i = 0; i < n; ++i) for (int j = 0; j < n; ++j)
      |                                                  ^~~
libcusna_saom_cpu.cpp:844:92: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
  844 |                         acc += (a[(size_t)i*n+j] & wp[(size_t)i*n+j] & wp[(size_t)j*n+i]); break;
      |                                                                                            ^~~~~
g++-15 -std=gnu++17 -shared -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -Wl,-O1 -o cusna.so cpp11.o cusna_glue.o cusna_saom_glue.o libcusna_ergm_cpu.o libcusna_saom_cpu.o -fopenmp -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -lR
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpglJhzW/R.INSTALL34a25c762df4e4/cusna/src'
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpglJhzW/R.INSTALL34a25c762df4e4/cusna/src'
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpglJhzW/R.INSTALL34a25c762df4e4/cusna/src'
installing to /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/00LOCK-cusna/00new/cusna/libs
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
  converting help for package ‘cusna’
    finding HTML links ... done
    alaam_mcmle                             html  
    alaam_mple                              html  
    alaam_simulate                          html  
    cusna-package                           html  
    cusna_abi_version                       html  
    cusna_behavior_stats                    html  
    cusna_effect                            html  
    cusna_fit                               html  
    cusna_fran                              html  
    cusna_gof_distribution                  html  
    cusna_network_stats                     html  
    cusna_set_threads                       html  
    ergm_mcmle                              html  
    ergm_mple                               html  
    ergm_simulate                           html  
    ergm_stats                              html  
    ergm_term                               html  
    mom_estimate                            html  
    saom_data                               html  
    saom_multinet                           html  
    stergm_cmle                             html  
    tergm_mple                              html  
    tergm_simulate                          html  
** 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 (cusna)