* installing *source* package ‘MatchIt’ ... ** this is package ‘MatchIt’ version ‘4.7.2’ ** using staged installation ** libs using C++ compiler: ‘g++-14 (Debian 14.2.0-19) 14.2.0’ g++-14 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/RcppProgress/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -c RcppExports.cpp -o RcppExports.o In file included from ../inst/include/MatchIt.h:7, from RcppExports.cpp:4: ../inst/include/MatchIt_RcppExports.h:14:14: warning: ‘void MatchIt::{anonymous}::validateSignature(const char*)’ defined but not used [-Wunused-function] 14 | void validateSignature(const char* sig) { | ^~~~~~~~~~~~~~~~~ g++-14 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/RcppProgress/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -c all_equal_to.cpp -o all_equal_to.o g++-14 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/RcppProgress/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -c eucdistC.cpp -o eucdistC.o g++-14 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/RcppProgress/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -c get_splitsC.cpp -o get_splitsC.o g++-14 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/RcppProgress/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -c has_n_unique.cpp -o has_n_unique.o g++-14 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/RcppProgress/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -c internal.cpp -o internal.o g++-14 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/RcppProgress/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -c nn_matchC_distmat.cpp -o nn_matchC_distmat.o nn_matchC_distmat.cpp: In function ‘Rcpp::IntegerMatrix nn_matchC_distmat(const Rcpp::IntegerVector&, const Rcpp::IntegerVector&, const Rcpp::IntegerVector&, const Rcpp::LogicalVector&, const int&, const int&, const Rcpp::NumericMatrix&, const Rcpp::Nullable >&, const Rcpp::Nullable&, const Rcpp::Nullable >&, const Rcpp::Nullable >&, const Rcpp::Nullable >&, const Rcpp::Nullable >&, const bool&)’: nn_matchC_distmat.cpp:171:35: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | for (int t_id_t_i : ord_r - 1) { | ^ nn_matchC_distmat.cpp:171:35: note: the temporary was destroyed at the end of the full expression ‘Rcpp::operator-<13, true, Vector<13>, int>(ord_r, 1)’ nn_matchC_distmat.cpp:257:31: warning: possibly dangling reference to a temporary [-Wdangling-reference] 257 | for (int t_id_t_i : ord - 1) { | ^ nn_matchC_distmat.cpp:257:31: note: the temporary was destroyed at the end of the full expression ‘Rcpp::operator-<13, true, Vector<13>, int>((*(const Rcpp::VectorBase<13, true, Rcpp::Vector<13> >*)(& ord)), 1)’ g++-14 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/RcppProgress/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -c nn_matchC_distmat_closest.cpp -o nn_matchC_distmat_closest.o g++-14 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/RcppProgress/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -c nn_matchC_mahcovs.cpp -o nn_matchC_mahcovs.o nn_matchC_mahcovs.cpp: In function ‘Rcpp::IntegerMatrix nn_matchC_mahcovs(const Rcpp::IntegerVector&, const Rcpp::IntegerVector&, const Rcpp::IntegerVector&, const Rcpp::LogicalVector&, const int&, const int&, const Rcpp::NumericMatrix&, const Rcpp::Nullable >&, const Rcpp::Nullable >&, const Rcpp::Nullable&, const Rcpp::Nullable >&, const Rcpp::Nullable >&, const Rcpp::Nullable >&, const Rcpp::Nullable >&, const bool&)’: nn_matchC_mahcovs.cpp:204:35: warning: possibly dangling reference to a temporary [-Wdangling-reference] 204 | for (int t_id_t_i : ord_r - 1) { | ^ nn_matchC_mahcovs.cpp:204:35: note: the temporary was destroyed at the end of the full expression ‘Rcpp::operator-<13, true, Vector<13>, int>(ord_r, 1)’ nn_matchC_mahcovs.cpp:295:31: warning: possibly dangling reference to a temporary [-Wdangling-reference] 295 | for (int t_id_t_i : ord - 1) { | ^ nn_matchC_mahcovs.cpp:295:31: note: the temporary was destroyed at the end of the full expression ‘Rcpp::operator-<13, true, Vector<13>, int>((*(const Rcpp::VectorBase<13, true, Rcpp::Vector<13> >*)(& ord)), 1)’ g++-14 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/RcppProgress/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -c nn_matchC_mahcovs_closest.cpp -o nn_matchC_mahcovs_closest.o g++-14 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/RcppProgress/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -c nn_matchC_vec.cpp -o nn_matchC_vec.o nn_matchC_vec.cpp: In function ‘Rcpp::IntegerMatrix nn_matchC_vec(const Rcpp::IntegerVector&, const Rcpp::IntegerVector&, const Rcpp::IntegerVector&, const Rcpp::LogicalVector&, const int&, const int&, const Rcpp::NumericVector&, const Rcpp::Nullable >&, const Rcpp::Nullable&, const Rcpp::Nullable >&, const Rcpp::Nullable >&, const Rcpp::Nullable >&, const Rcpp::Nullable >&, const bool&)’: nn_matchC_vec.cpp:192:35: warning: possibly dangling reference to a temporary [-Wdangling-reference] 192 | for (int t_id_t_i : ord_r - 1) { | ^ nn_matchC_vec.cpp:192:35: note: the temporary was destroyed at the end of the full expression ‘Rcpp::operator-<13, true, Vector<13>, int>(ord_r, 1)’ nn_matchC_vec.cpp:288:31: warning: possibly dangling reference to a temporary [-Wdangling-reference] 288 | for (int t_id_t_i : ord - 1) { | ^ nn_matchC_vec.cpp:288:31: note: the temporary was destroyed at the end of the full expression ‘Rcpp::operator-<13, true, Vector<13>, int>((*(const Rcpp::VectorBase<13, true, Rcpp::Vector<13> >*)(& ord)), 1)’ g++-14 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/RcppProgress/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -c nn_matchC_vec_closest.cpp -o nn_matchC_vec_closest.o g++-14 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/RcppProgress/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -c pairdistC.cpp -o pairdistC.o g++-14 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/RcppProgress/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -c preprocess_matchC.cpp -o preprocess_matchC.o g++-14 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/RcppProgress/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -c subclass2mm.cpp -o subclass2mm.o g++-14 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/RcppProgress/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -c subclass_scootC.cpp -o subclass_scootC.o subclass_scootC.cpp: In function ‘Rcpp::IntegerVector subclass_scootC(const Rcpp::IntegerVector&, const Rcpp::IntegerVector&, const Rcpp::NumericVector&, const int&)’: subclass_scootC.cpp:111:16: warning: ‘best_i’ may be used uninitialized [-Wmaybe-uninitialized] 111 | for (i = best_i + 1; i < nt; i++) { | ~~^~~~~~~~~~~~ subclass_scootC.cpp:17:7: note: ‘best_i’ was declared here 17 | int best_i; | ^~~~~~ subclass_scootC.cpp:122:13: warning: ‘best_x’ may be used uninitialized [-Wmaybe-uninitialized] 122 | if (x[indt[i]] > best_x) { | ^~ subclass_scootC.cpp:18:10: note: ‘best_x’ was declared here 18 | double best_x, score; | ^~~~~~ g++-14 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/RcppProgress/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -c tabulateC.cpp -o tabulateC.o g++-14 -std=gnu++17 -I"/home/hornik/tmp/R/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/RcppProgress/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -c weights_matrixC.cpp -o weights_matrixC.o g++-14 -std=gnu++17 -shared -L/home/hornik/tmp/R/lib -Wl,-O1 -o MatchIt.so RcppExports.o all_equal_to.o eucdistC.o get_splitsC.o has_n_unique.o internal.o nn_matchC_distmat.o nn_matchC_distmat_closest.o nn_matchC_mahcovs.o nn_matchC_mahcovs_closest.o nn_matchC_vec.o nn_matchC_vec_closest.o pairdistC.o preprocess_matchC.o subclass2mm.o subclass_scootC.o tabulateC.o weights_matrixC.o -fopenmp -llapack -L/home/hornik/tmp/R/lib -lRblas -lgfortran -lm -lquadmath -L/home/hornik/tmp/R/lib -lR installing to /home/hornik/tmp/CRAN_recheck/MatchIt.Rcheck/00LOCK-MatchIt/00new/MatchIt/libs ** R ** data *** moving datasets to lazyload DB ** inst ** byte-compile and prepare package for lazy loading ** help *** installing help indices *** copying figures ** 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 (MatchIt)