* installing *source* package 'MatchIt' ... ** using staged installation ** libs using C++ compiler: 'g++.exe (GCC) 12.2.0' g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppProgress/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -fopenmp -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -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++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppProgress/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -fopenmp -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c dist_to_matrix.cpp -o dist_to_matrix.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppProgress/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -fopenmp -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c energy_match.cpp -o energy_match.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppProgress/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -fopenmp -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c internal.cpp -o internal.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppProgress/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -fopenmp -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c nn_matchC.cpp -o nn_matchC.o nn_matchC.cpp: In function 'Rcpp::IntegerMatrix nn_matchC(const Rcpp::IntegerVector&, const Rcpp::IntegerVector&, const Rcpp::IntegerVector&, const Rcpp::LogicalVector&, const int&, const Rcpp::Nullable >&, const Rcpp::Nullable >&, 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.cpp:69:66: warning: 'n_anti' may be used uninitialized [-Wmaybe-uninitialized] 69 | int t, t_ind, min_ind, c_chosen, num_eligible, cal_len, t_rat, n_anti, antiexact_t; | ^~~~~~ nn_matchC.cpp:69:50: warning: 'cal_len' may be used uninitialized [-Wmaybe-uninitialized] 69 | int t, t_ind, min_ind, c_chosen, num_eligible, cal_len, t_rat, n_anti, antiexact_t; | ^~~~~~~ In file included from D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp/traits/traits.h:60, from D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/RcppCommon.h:158, from D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp.h:27, from D:/RCompile/CRANpkg/lib/4.4/RcppProgress/include/interrupts.hpp:21, from D:/RCompile/CRANpkg/lib/4.4/RcppProgress/include/interruptable_progress_monitor.hpp:15, from D:/RCompile/CRANpkg/lib/4.4/RcppProgress/include/progress.hpp:12, from nn_matchC.cpp:2: In function 'bool Rcpp::traits::is_na(typename storage_type::type) [with int RTYPE = 14]', inlined from 'Rcpp::sugar::Comparator_With_One_Value::Comparator_With_One_Value(const VEC_TYPE&, STORAGE) [with int RTYPE = 14; Operator = Rcpp::sugar::less_or_equal<14>; bool NA = true; T = Rcpp::Vector<14, Rcpp::PreserveStorage>]' at D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp/sugar/operators/Comparator_With_One_Value.h:38:34, inlined from 'Rcpp::sugar::Comparator_With_One_Value, NA, T> operator<=(const Rcpp::VectorBase&, typename Rcpp::traits::storage_type::type) [with int RTYPE = 14; bool NA = true; T = Rcpp::Vector<14, Rcpp::PreserveStorage>]' at D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp/sugar/operators/logical_operators__Vector__primitive.h:133:3, inlined from 'Rcpp::IntegerMatrix nn_matchC(const Rcpp::IntegerVector&, const Rcpp::IntegerVector&, const Rcpp::IntegerVector&, const Rcpp::LogicalVector&, const int&, const Rcpp::Nullable >&, const Rcpp::Nullable >&, const Rcpp::Nullable >&, const Rcpp::Nullable&, const Rcpp::Nullable >&, const Rcpp::Nullable >&, const Rcpp::Nullable >&, const Rcpp::Nullable >&, const Rcpp::Nullable >&, const bool&)' at nn_matchC.cpp:213:41: D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp/traits/is_na.h:43:30: warning: 'caliper_dist' may be used uninitialized [-Wmaybe-uninitialized] 43 | return R_isnancpp(x); | ~~~~~~~~~~^~~ nn_matchC.cpp: In function 'Rcpp::IntegerMatrix nn_matchC(const Rcpp::IntegerVector&, const Rcpp::IntegerVector&, const Rcpp::IntegerVector&, const Rcpp::LogicalVector&, const int&, const Rcpp::Nullable >&, const Rcpp::Nullable >&, 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.cpp:29:10: note: 'caliper_dist' was declared here 29 | double caliper_dist; | ^~~~~~~~~~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppProgress/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -fopenmp -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c nn_matchC_closest.cpp -o nn_matchC_closest.o nn_matchC_closest.cpp: In function 'Rcpp::IntegerMatrix nn_matchC_closest(const Rcpp::NumericMatrix&, const Rcpp::IntegerVector&, const Rcpp::IntegerVector&, const Rcpp::LogicalVector&, const int&, const Rcpp::Nullable >&, const Rcpp::Nullable&, const Rcpp::Nullable >&, const Rcpp::Nullable >&, const Rcpp::Nullable >&, const Rcpp::Nullable >&, const bool&)': nn_matchC_closest.cpp:149:25: warning: 'n_anti' may be used uninitialized [-Wmaybe-uninitialized] 149 | while (okay && (i < n_anti)) { | ~~~^~~~~~~~~ nn_matchC_closest.cpp:70:7: note: 'n_anti' was declared here 70 | int n_anti; | ^~~~~~ nn_matchC_closest.cpp:106:7: warning: 'caliper_dist' may be used uninitialized [-Wmaybe-uninitialized] 106 | if (distance_mat[dj] > caliper_dist) break; | ^~ nn_matchC_closest.cpp:41:10: note: 'caliper_dist' was declared here 41 | double caliper_dist; | ^~~~~~~~~~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppProgress/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -fopenmp -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c nn_matchC_vec.cpp -o nn_matchC_vec.o nn_matchC_vec.cpp: In function 'int find_right(int, int, Rcpp::IntegerVector, Rcpp::LogicalVector, int, Rcpp::IntegerVector, Rcpp::IntegerVector, Rcpp::NumericVector, bool, double, bool, Rcpp::NumericVector, Rcpp::NumericMatrix, bool, Rcpp::IntegerVector, bool, Rcpp::IntegerMatrix)': nn_matchC_vec.cpp:100:25: warning: 'n_cal_covs' may be used uninitialized [-Wmaybe-uninitialized] 100 | while (okay && (i < n_cal_covs)) { | ~~~^~~~~~~~~~~~~ nn_matchC_vec.cpp:46:7: note: 'n_cal_covs' was declared here 46 | int n_cal_covs; | ^~~~~~~~~~ nn_matchC_vec.cpp:85:25: warning: 'n_anti' may be used uninitialized [-Wmaybe-uninitialized] 85 | while (okay && (i < n_anti)) { | ~~~^~~~~~~~~ nn_matchC_vec.cpp:43:7: note: 'n_anti' was declared here 43 | int n_anti; | ^~~~~~ nn_matchC_vec.cpp: In function 'int find_left(int, int, Rcpp::IntegerVector, Rcpp::LogicalVector, int, Rcpp::IntegerVector, Rcpp::IntegerVector, Rcpp::NumericVector, bool, double, bool, Rcpp::NumericVector, Rcpp::NumericMatrix, bool, Rcpp::IntegerVector, bool, Rcpp::IntegerMatrix)': nn_matchC_vec.cpp:199:25: warning: 'n_cal_covs' may be used uninitialized [-Wmaybe-uninitialized] 199 | while (okay && (i < n_cal_covs)) { | ~~~^~~~~~~~~~~~~ nn_matchC_vec.cpp:145:7: note: 'n_cal_covs' was declared here 145 | int n_cal_covs; | ^~~~~~~~~~ nn_matchC_vec.cpp:184:25: warning: 'n_anti' may be used uninitialized [-Wmaybe-uninitialized] 184 | while (okay && (i < n_anti)) { | ~~~^~~~~~~~~ nn_matchC_vec.cpp:142:7: note: 'n_anti' was declared here 142 | int n_anti; | ^~~~~~ 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 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:377:27: warning: 'caliper_dist' may be used uninitialized [-Wmaybe-uninitialized] 377 | k_right = find_right(ii, last_control, | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ 378 | treat, | ~~~~~~ 379 | can_be_matched, | ~~~~~~~~~~~~~~~ 380 | r, mm_row, | ~~~~~~~~~~ 381 | d_ord, | ~~~~~~ 382 | distance, use_caliper_dist, caliper_dist, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 383 | use_caliper_covs, caliper_covs, caliper_covs_mat, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 384 | use_exact, exact, | ~~~~~~~~~~~~~~~~~ 385 | use_antiexact, antiexact_covs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nn_matchC_vec.cpp:280:10: note: 'caliper_dist' was declared here 280 | double caliper_dist; | ^~~~~~~~~~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppProgress/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -fopenmp -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c pairdistC.cpp -o pairdistC.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppProgress/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -fopenmp -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c subclass2mm.cpp -o subclass2mm.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppProgress/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -fopenmp -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c tabulateC.cpp -o tabulateC.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppProgress/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -fopenmp -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c weights_matrixC.cpp -o weights_matrixC.o g++ -std=gnu++17 -shared -s -static-libgcc -o MatchIt.dll tmp.def RcppExports.o dist_to_matrix.o energy_match.o internal.o nn_matchC.o nn_matchC_closest.o nn_matchC_vec.o pairdistC.o subclass2mm.o tabulateC.o weights_matrixC.o -fopenmp -LD:/RCompile/recent/R/bin/x64 -lRlapack -LD:/RCompile/recent/R/bin/x64 -lRblas -lgfortran -lm -lquadmath -Ld:/rtools43/x86_64-w64-mingw32.static.posix/lib/x64 -Ld:/rtools43/x86_64-w64-mingw32.static.posix/lib -LD:/RCompile/recent/R/bin/x64 -lR installing to d:/RCompile/CRANincoming/R-devel/lib/00LOCK-MatchIt/00new/MatchIt/libs/x64 ** 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 ** testing if installed package can be loaded from final location ** testing if installed package keeps a record of temporary installation path * DONE (MatchIt)