* installing *source* package ‘fastpolicytree’ ... ** this is package ‘fastpolicytree’ version ‘1.0’ ** package ‘fastpolicytree’ successfully unpacked and MD5 sums checked ** using staged installation ** libs using C compiler: ‘clang version 20.1.7’ using C++ compiler: ‘clang version 20.1.7’ make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-clang/fastpolicytree/src' clang++-20 -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang20/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 clang-20 -std=gnu23 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang20/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3 -c cache.c -o cache.o clang++-20 -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang20/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 rcpp_fastpolicytree.cpp -o rcpp_fastpolicytree.o clang-20 -std=gnu23 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang20/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3 -c simple_opttree.c -o simple_opttree.o clang-20 -std=gnu23 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang20/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3 -c simple_set.c -o simple_set.o clang-20 -std=gnu23 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang20/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3 -c sorted_set.c -o sorted_set.o clang-20 -std=gnu23 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang20/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3 -c strategy.c -o strategy.o clang-20 -std=gnu23 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang20/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3 -c tree.c -o tree.o clang-20 -std=gnu23 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang20/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3 -c units.c -o units.o clang-20 -std=gnu23 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang20/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3 -c workspace.c -o workspace.o simple_opttree.c:515:8: warning: variable 'optimal_tree_found' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] 515 | if( find_dummy_split_reward(strategy) ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ simple_opttree.c:560:17: note: uninitialized use occurs here 560 | for( p = 0; !optimal_tree_found && p < num_cols_x; p++) | ^~~~~~~~~~~~~~~~~~ simple_opttree.c:515:4: note: remove the 'if' if its condition is always true 515 | if( find_dummy_split_reward(strategy) ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 516 | { simple_opttree.c:405:26: note: initialize the variable 'optimal_tree_found' to silence this warning 405 | int optimal_tree_found; | ^ | = 0 1 warning generated. clang++-20 -std=gnu++17 -shared -L/usr/local/clang/lib64 -L/usr/local/clang20/lib -L/usr/local/clang20/lib/x86_64-unknown-linux-gnu -L/usr/local/lib64 -L/usr/local/clang20/lib/clang/20/lib/x86_64-unknown-linux-gnu -o fastpolicytree.so RcppExports.o cache.o rcpp_fastpolicytree.o simple_opttree.o simple_set.o sorted_set.o strategy.o tree.o units.o workspace.o make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-clang/fastpolicytree/src' make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-clang/fastpolicytree/src' make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-clang/fastpolicytree/src' installing to /data/gannet/ripley/R/packages/tests-clang/fastpolicytree.Rcheck/00LOCK-fastpolicytree/00new/fastpolicytree/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 (fastpolicytree)