* 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++ (GCC) 16.1.1 20260515 (Red Hat 16.1.1-2)’
using C++17
make[1]: Entering directory '/data/localhost/ripley/R/packages/tests-devel/cusna/src'
g++ -std=gnu++17 -I"/data/localhost/ripley/R/R-devel/include" -DNDEBUG -I. -DLIBCUSNA_BUILD -DCUSNA_CPU_ONLY -I'/data/localhost/ripley/R/test-dev/cpp11/include' -I/usr/local/include   -fopenmp -fpic  -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection   -c cpp11.cpp -o cpp11.o
g++ -std=gnu++17 -I"/data/localhost/ripley/R/R-devel/include" -DNDEBUG -I. -DLIBCUSNA_BUILD -DCUSNA_CPU_ONLY -I'/data/localhost/ripley/R/test-dev/cpp11/include' -I/usr/local/include   -fopenmp -fpic  -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection   -c cusna_glue.cpp -o cusna_glue.o
g++ -std=gnu++17 -I"/data/localhost/ripley/R/R-devel/include" -DNDEBUG -I. -DLIBCUSNA_BUILD -DCUSNA_CPU_ONLY -I'/data/localhost/ripley/R/test-dev/cpp11/include' -I/usr/local/include   -fopenmp -fpic  -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection   -c cusna_saom_glue.cpp -o cusna_saom_glue.o
g++ -std=gnu++17 -I"/data/localhost/ripley/R/R-devel/include" -DNDEBUG -I. -DLIBCUSNA_BUILD -DCUSNA_CPU_ONLY -I'/data/localhost/ripley/R/test-dev/cpp11/include' -I/usr/local/include   -fopenmp -fpic  -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection   -c libcusna_ergm_cpu.cpp -o libcusna_ergm_cpu.o
g++ -std=gnu++17 -I"/data/localhost/ripley/R/R-devel/include" -DNDEBUG -I. -DLIBCUSNA_BUILD -DCUSNA_CPU_ONLY -I'/data/localhost/ripley/R/test-dev/cpp11/include' -I/usr/local/include   -fopenmp -fpic  -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection   -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++ -std=gnu++17 -shared -L/usr/local/lib64 -o cusna.so cpp11.o cusna_glue.o cusna_saom_glue.o libcusna_ergm_cpu.o libcusna_saom_cpu.o -fopenmp
make[1]: Leaving directory '/data/localhost/ripley/R/packages/tests-devel/cusna/src'
make[1]: Entering directory '/data/localhost/ripley/R/packages/tests-devel/cusna/src'
make[1]: Leaving directory '/data/localhost/ripley/R/packages/tests-devel/cusna/src'
installing to /data/localhost/ripley/R/packages/tests-devel/cusna.Rcheck/00LOCK-cusna/00new/cusna/libs
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** 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)