* installing to library ‘/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages’
* installing *source* package ‘spatgraphs’ ...
** package ‘spatgraphs’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘Debian clang version 18.1.0 (rc4-1)’
make[1]: Entering directory '/tmp/RtmpXBiGOv/R.INSTALL20f00c63f3c4d9/spatgraphs/src'
clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic  -c Graph.cpp -o Graph.o
Graph.cpp:105:5: warning: misleading indentation; statement is not part of the previous 'for' [-Wmisleading-indentation]
  105 |     if(dbg)Rprintf(" Ok.");
      |     ^
Graph.cpp:96:3: note: previous statement is here
   96 |   for(i=0;i<(pp->size()-1);i++)
      |   ^
Graph.cpp:208:5: warning: misleading indentation; statement is not part of the previous 'for' [-Wmisleading-indentation]
  208 |     if(dbg)Rprintf(" Ok.");
      |     ^
Graph.cpp:197:3: note: previous statement is here
  197 |   for(i=0;i<pp->size();i++)
      |   ^
Graph.cpp:316:5: warning: misleading indentation; statement is not part of the previous 'for' [-Wmisleading-indentation]
  316 |     if(dbg)Rprintf(" Ok.");
      |     ^
Graph.cpp:307:3: note: previous statement is here
  307 |   for(i=0;i<(pp->size()-1);i++)
      |   ^
Graph.cpp:332:7: warning: misleading indentation; statement is not part of the previous 'for' [-Wmisleading-indentation]
  332 |       pars.at(i)=dist;
      |       ^
Graph.cpp:330:5: note: previous statement is here
  330 |     for(j=0;j<pp->size();j++)
      |     ^
Graph.cpp:402:13: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation]
  402 |             if(isempty)
      |             ^
Graph.cpp:399:11: note: previous statement is here
  399 |           if(pp->getDist(&i,&k) < pp->getDist(&i, &j))
      |           ^
5 warnings generated.
clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic  -c Pp.cpp -o Pp.o
clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic  -c RcppExports.cpp -o RcppExports.o
clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic  -c cut.cpp -o cut.o
clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic  -c prune.cpp -o prune.o
prune.cpp:59:9: warning: misleading indentation; statement is not part of the previous 'for' [-Wmisleading-indentation]
   59 |         nodelist.at(next-1).swap(*pnode);
      |         ^
prune.cpp:56:7: note: previous statement is here
   56 |       for(i=0; i < (int)nodelist.at(next-1).size();i++)
      |       ^
prune.cpp:10:16: warning: variable 'count' set but not used [-Wunused-but-set-variable]
   10 |   int i, leaf, count=0, prev, next;
      |                ^
2 warnings generated.
clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic  -c remove_nodes.cpp -o remove_nodes.o
clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic  -c spatcluster.cpp -o spatcluster.o
clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic  -c spatgraph.cpp -o spatgraph.o
clang++-18 -std=gnu++17 -shared -L/home/hornik/tmp/R.check/r-devel-clang/Work/build/lib -Wl,-O1 -o spatgraphs.so Graph.o Pp.o RcppExports.o cut.o prune.o remove_nodes.o spatcluster.o spatgraph.o -L/home/hornik/tmp/R.check/r-devel-clang/Work/build/lib -lR
make[1]: Leaving directory '/tmp/RtmpXBiGOv/R.INSTALL20f00c63f3c4d9/spatgraphs/src'
make[1]: Entering directory '/tmp/RtmpXBiGOv/R.INSTALL20f00c63f3c4d9/spatgraphs/src'
make[1]: Leaving directory '/tmp/RtmpXBiGOv/R.INSTALL20f00c63f3c4d9/spatgraphs/src'
installing to /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/00LOCK-spatgraphs/00new/spatgraphs/libs
** R
** 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 (spatgraphs)