* installing to library ‘/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages’
* installing *source* package ‘MatchIt’ ...
** package ‘MatchIt’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘g++-14 (Debian 14.2.0-8) 14.2.0’
make[1]: Entering directory '/home/hornik/tmp/scratch/Rtmpczwi6O/R.INSTALL34ebb0134d07a6/MatchIt/src'
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppProgress/include' -I/usr/local/include -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.check/r-release-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppProgress/include' -I/usr/local/include -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.check/r-release-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppProgress/include' -I/usr/local/include -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.check/r-release-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppProgress/include' -I/usr/local/include -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.check/r-release-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppProgress/include' -I/usr/local/include -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.check/r-release-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppProgress/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -fpic  -g -O2 -Wall -pedantic -mtune=native   -c internal.cpp -o internal.o
internal.cpp: In function ‘std::vector<int> find_control_vec(const int&, const Rcpp::IntegerVector&, const Rcpp::IntegerVector&, const Rcpp::IntegerVector&, const Rcpp::NumericVector&, const Rcpp::LogicalVector&, const int&, const int&, const Rcpp::IntegerVector&, const int&, const Rcpp::NumericMatrix&, const Rcpp::NumericVector&, const double&, const bool&, const Rcpp::IntegerVector&, const int&, const Rcpp::IntegerMatrix&, const Rcpp::IntegerVector&, const Rcpp::IntegerVector&, const int&, const int&)’:
internal.cpp:264:37: warning: comparison of integer expressions of different signedness: ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} and ‘const int’ [-Wsign-compare]
  264 |     if (potential_matches_id.size() >= ratio) {
      |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
internal.cpp: In function ‘std::vector<int> find_control_mahcovs(const int&, const Rcpp::IntegerVector&, const Rcpp::IntegerVector&, const Rcpp::NumericVector&, const double&, const Rcpp::IntegerVector&, const Rcpp::NumericVector&, const Rcpp::LogicalVector&, const int&, const int&, const Rcpp::IntegerVector&, const Rcpp::NumericMatrix&, const int&, const Rcpp::NumericMatrix&, const Rcpp::NumericVector&, const bool&, const double&, const bool&, const Rcpp::IntegerVector&, const int&, const Rcpp::IntegerMatrix&, const int&)’:
internal.cpp:487:34: warning: comparison of integer expressions of different signedness: ‘std::vector<std::pair<int, double> >::size_type’ {aka ‘long unsigned int’} and ‘const int’ [-Wsign-compare]
  487 |     if (potential_matches.size() == ratio) {
      |         ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
internal.cpp:528:36: warning: comparison of integer expressions of different signedness: ‘std::vector<std::pair<int, double> >::size_type’ {aka ‘long unsigned int’} and ‘const int’ [-Wsign-compare]
  528 |       if (potential_matches.size() == ratio) {
      |           ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
internal.cpp:538:36: warning: comparison of integer expressions of different signedness: ‘std::vector<std::pair<int, double> >::size_type’ {aka ‘long unsigned int’} and ‘const int’ [-Wsign-compare]
  538 |       if (potential_matches.size() == ratio) {
      |           ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
internal.cpp: In function ‘std::vector<int> find_control_mat(const int&, const Rcpp::IntegerVector&, const Rcpp::IntegerVector&, const Rcpp::NumericVector&, const Rcpp::LogicalVector&, const int&, const int&, const Rcpp::IntegerVector&, const int&, const Rcpp::NumericMatrix&, const Rcpp::NumericVector&, const double&, const bool&, const Rcpp::IntegerVector&, const int&, const Rcpp::IntegerMatrix&, const int&)’:
internal.cpp:603:37: warning: comparison of integer expressions of different signedness: ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} and ‘const int’ [-Wsign-compare]
  603 |     if (potential_matches_id.size() == ratio) {
      |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
internal.cpp:604:7: warning: ‘max_dist’ may be used uninitialized [-Wmaybe-uninitialized]
  604 |       if (dist_c > max_dist) {
      |       ^~
internal.cpp:592:10: note: ‘max_dist’ was declared here
  592 |   double max_dist;
      |          ^~~~~~~~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppProgress/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -fpic  -g -O2 -Wall -pedantic -mtune=native   -c nn_matchC_distmat.cpp -o nn_matchC_distmat.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppProgress/include' -I/usr/local/include -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.check/r-release-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppProgress/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -fpic  -g -O2 -Wall -pedantic -mtune=native   -c nn_matchC_mahcovs.cpp -o nn_matchC_mahcovs.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppProgress/include' -I/usr/local/include -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.check/r-release-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppProgress/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -fpic  -g -O2 -Wall -pedantic -mtune=native   -c nn_matchC_vec.cpp -o nn_matchC_vec.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppProgress/include' -I/usr/local/include -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.check/r-release-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppProgress/include' -I/usr/local/include -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.check/r-release-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppProgress/include' -I/usr/local/include -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.check/r-release-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppProgress/include' -I/usr/local/include -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.check/r-release-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppProgress/include' -I/usr/local/include -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.check/r-release-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppProgress/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -fpic  -g -O2 -Wall -pedantic -mtune=native   -c weights_matrixC.cpp -o weights_matrixC.o
weights_matrixC.cpp: In function ‘Rcpp::NumericVector weights_matrixC(const Rcpp::IntegerMatrix&, const Rcpp::IntegerVector&, const Rcpp::Nullable<int>&)’:
weights_matrixC.cpp:45:26: warning: possibly dangling reference to a temporary [-Wdangling-reference]
   45 |     for (int i : row_r - 1) {
      |                          ^
weights_matrixC.cpp:45:26: note: the temporary was destroyed at the end of the full expression ‘Rcpp::operator-<13, true, Vector<13>, int>(row_r, 1)’
weights_matrixC.cpp:49:26: warning: possibly dangling reference to a temporary [-Wdangling-reference]
   49 |     for (int i : row_r - 1) {
      |                          ^
weights_matrixC.cpp:49:26: note: the temporary was destroyed at the end of the full expression ‘Rcpp::operator-<13, true, Vector<13>, int>(row_r, 1)’
g++-14 -std=gnu++17 -shared -L/home/hornik/tmp/R.check/r-release-gcc/Work/build/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 subclass2mm.o subclass_scootC.o tabulateC.o weights_matrixC.o -fopenmp -llapack -L/home/hornik/tmp/R.check/r-release-gcc/Work/build/lib -lRblas -lgfortran -lm -lquadmath -L/home/hornik/tmp/R.check/r-release-gcc/Work/build/lib -lR
make[1]: Leaving directory '/home/hornik/tmp/scratch/Rtmpczwi6O/R.INSTALL34ebb0134d07a6/MatchIt/src'
make[1]: Entering directory '/home/hornik/tmp/scratch/Rtmpczwi6O/R.INSTALL34ebb0134d07a6/MatchIt/src'
make[1]: Leaving directory '/home/hornik/tmp/scratch/Rtmpczwi6O/R.INSTALL34ebb0134d07a6/MatchIt/src'
installing to /home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/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)