* installing *source* package ‘ibdsegments’ ...
** this is package ‘ibdsegments’ version ‘1.0.1’
** package ‘ibdsegments’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘clang version 21.1.4’
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-clang/ibdsegments/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 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 cibd.cpp -o cibd.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 convolution.cpp -o convolution.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 founder_inbreeding.cpp -o founder_inbreeding.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 get_ibd_states_by_v.cpp -o get_ibd_states_by_v.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 ibd_log10_pr.cpp -o ibd_log10_pr.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 random.cpp -o random.o
random.cpp:73:13: warning: variable 'v_next' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]
73 | if (!end_reached){
| ^~~~~~~~~~~~
random.cpp:119:21: note: uninitialized use occurs here
119 | segment_v = v_next;
| ^~~~~~
random.cpp:73:9: note: remove the 'if' if its condition is always true
73 | if (!end_reached){
| ^~~~~~~~~~~~~~~~~
random.cpp:68:19: note: initialize the variable 'v_next' to silence this warning
68 | int v_next;
| ^
| = 0
/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 validate_recombination_rates.cpp -o validate_recombination_rates.o
ibd_log10_pr.cpp:98:10: warning: variable 'log10_pr' set but not used [-Wunused-but-set-variable]
98 | double log10_pr = 0;
| ^
1 warning generated.
1 warning generated.
/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 ibdsegments.so RcppExports.o cibd.o convolution.o founder_inbreeding.o get_ibd_states_by_v.o ibd_log10_pr.o random.o validate_recombination_rates.o
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-clang/ibdsegments/src'
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-clang/ibdsegments/src'
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-clang/ibdsegments/src'
installing to /data/gannet/ripley/R/packages/tests-clang/ibdsegments.Rcheck/00LOCK-ibdsegments/00new/ibdsegments/libs
** R
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
*** copying figures
** 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 (ibdsegments)