* installing *source* package ‘spatgraphs’ ...
** this is package ‘spatgraphs’ version ‘3.4’
** package ‘spatgraphs’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘clang version 21.1.6’
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-clang/spatgraphs/src'
/usr/local/clang21/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang21/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c Graph.cpp -o Graph.o
/usr/local/clang21/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang21/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c Pp.cpp -o Pp.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.
/usr/local/clang21/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang21/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c RcppExports.cpp -o RcppExports.o
/usr/local/clang21/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang21/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c cut.cpp -o cut.o
/usr/local/clang21/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang21/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c prune.cpp -o prune.o
/usr/local/clang21/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang21/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c remove_nodes.cpp -o remove_nodes.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.
/usr/local/clang21/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang21/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c spatcluster.cpp -o spatcluster.o
/usr/local/clang21/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang21/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c spatgraph.cpp -o spatgraph.o
/usr/local/clang21/bin/clang++ -std=gnu++17 -shared -L/usr/local/clang/lib64 -L/usr/local/clang21/lib -L/usr/local/clang21/lib/x86_64-unknown-linux-gnu -L/usr/local/lib64 -L/usr/local/clang21/lib/clang/21/lib/x86_64-unknown-linux-gnu -o spatgraphs.so Graph.o Pp.o RcppExports.o cut.o prune.o remove_nodes.o spatcluster.o spatgraph.o
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-clang/spatgraphs/src'
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-clang/spatgraphs/src'
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-clang/spatgraphs/src'
installing to /data/gannet/ripley/R/packages/tests-clang/spatgraphs.Rcheck/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)