* installing to library ‘/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages’
* installing *source* package ‘redistmetrics’ ...
** package ‘redistmetrics’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘g++-13 (Debian 13.2.0-23) 13.2.0’
using C++17
make[1]: Entering directory '/tmp/Rtmp0Lws6d/R.INSTALLdf0096e09d5fe/redistmetrics/src'
g++-13 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppThread/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -DARMA_64BIT_WORD=1 -g0 -fpic  -g -O2 -Wall -pedantic -mtune=native   -c RcppExports.cpp -o RcppExports.o
g++-13 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppThread/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -DARMA_64BIT_WORD=1 -g0 -fpic  -g -O2 -Wall -pedantic -mtune=native   -c compactness.cpp -o compactness.o
g++-13 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppThread/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -DARMA_64BIT_WORD=1 -g0 -fpic  -g -O2 -Wall -pedantic -mtune=native   -c competitiveness.cpp -o competitiveness.o
g++-13 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppThread/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -DARMA_64BIT_WORD=1 -g0 -fpic  -g -O2 -Wall -pedantic -mtune=native   -c contiguity.cpp -o contiguity.o
g++-13 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppThread/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -DARMA_64BIT_WORD=1 -g0 -fpic  -g -O2 -Wall -pedantic -mtune=native   -c distances.cpp -o distances.o
g++-13 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppThread/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -DARMA_64BIT_WORD=1 -g0 -fpic  -g -O2 -Wall -pedantic -mtune=native   -c kirchhoff.cpp -o kirchhoff.o
In file included from kirchhoff.cpp:2:
../inst/include/kirchhoff_inline.h: In function ‘double log_st_distr(const Graph&, const arma::umat&, const arma::uvec&, int, int, int)’:
../inst/include/kirchhoff_inline.h:25:27: warning: comparison of integer expressions of different signedness: ‘const long long unsigned int’ and ‘int’ [-Wsign-compare]
   25 |     if (districts(i, idx) == district && counties(i) == county) {
      |         ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
../inst/include/kirchhoff_inline.h:25:54: warning: comparison of integer expressions of different signedness: ‘const long long unsigned int’ and ‘int’ [-Wsign-compare]
   25 |     if (districts(i, idx) == district && counties(i) == county) {
      |                                          ~~~~~~~~~~~~^~~~~~~~~
../inst/include/kirchhoff_inline.h:34:27: warning: comparison of integer expressions of different signedness: ‘const long long unsigned int’ and ‘int’ [-Wsign-compare]
   34 |     if (districts(i, idx) != district || counties(i) != county) continue;
      |         ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
../inst/include/kirchhoff_inline.h:34:54: warning: comparison of integer expressions of different signedness: ‘const long long unsigned int’ and ‘int’ [-Wsign-compare]
   34 |     if (districts(i, idx) != district || counties(i) != county) continue;
      |                                          ~~~~~~~~~~~~^~~~~~~~~
../inst/include/kirchhoff_inline.h:43:32: warning: comparison of integer expressions of different signedness: ‘const long long unsigned int’ and ‘int’ [-Wsign-compare]
   43 |       if (districts(nbor, idx) != district || counties(nbor) != county) continue;
      |           ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
../inst/include/kirchhoff_inline.h:43:62: warning: comparison of integer expressions of different signedness: ‘const long long unsigned int’ and ‘int’ [-Wsign-compare]
   43 |       if (districts(nbor, idx) != district || counties(nbor) != county) continue;
      |                                               ~~~~~~~~~~~~~~~^~~~~~~~~
../inst/include/kirchhoff_inline.h: In function ‘double log_st_contr(const Graph&, const arma::umat&, const arma::uvec&, int, int, int)’:
../inst/include/kirchhoff_inline.h:70:27: warning: comparison of integer expressions of different signedness: ‘const long long unsigned int’ and ‘int’ [-Wsign-compare]
   70 |     if (districts(i, idx) != district) continue;
      |         ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
../inst/include/kirchhoff_inline.h:85:27: warning: comparison of integer expressions of different signedness: ‘const long long unsigned int’ and ‘int’ [-Wsign-compare]
   85 |     if (districts(i, idx) != district) continue;
      |         ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
../inst/include/kirchhoff_inline.h:93:32: warning: comparison of integer expressions of different signedness: ‘const long long unsigned int’ and ‘int’ [-Wsign-compare]
   93 |       if (districts(nbor, idx) != district || pos.at(nbor) == cty) continue;
      |           ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
kirchhoff.cpp: In function ‘Rcpp::NumericVector n_removed(const Graph&, const arma::umat&, int)’:
kirchhoff.cpp:43:36: warning: comparison of integer expressions of different signedness: ‘const long long unsigned int’ and ‘int’ [-Wsign-compare]
   43 |         if (districts(nbors[j], n) != dist) removed += 1.0;
      |             ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
g++-13 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppThread/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -DARMA_64BIT_WORD=1 -g0 -fpic  -g -O2 -Wall -pedantic -mtune=native   -c partisan.cpp -o partisan.o
g++-13 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppThread/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -DARMA_64BIT_WORD=1 -g0 -fpic  -g -O2 -Wall -pedantic -mtune=native   -c reindex.cpp -o reindex.o
g++-13 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppThread/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -DARMA_64BIT_WORD=1 -g0 -fpic  -g -O2 -Wall -pedantic -mtune=native   -c segregation.cpp -o segregation.o
segregation.cpp: In function ‘Rcpp::NumericVector segregationcalc(Rcpp::NumericMatrix, Rcpp::NumericVector, Rcpp::NumericVector)’:
segregation.cpp:54:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘arma::uword’ {aka ‘long long unsigned int’} [-Wsign-compare]
   54 |       for(int k = 0; k < findCds.size(); k++){
      |                      ~~^~~~~~~~~~~~~~~~
g++-13 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppThread/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -DARMA_64BIT_WORD=1 -g0 -fpic  -g -O2 -Wall -pedantic -mtune=native   -c splits.cpp -o splits.o
g++-13 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppThread/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -DARMA_64BIT_WORD=1 -g0 -fpic  -g -O2 -Wall -pedantic -mtune=native   -c tally.cpp -o tally.o
g++-13 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppThread/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -DARMA_64BIT_WORD=1 -g0 -fpic  -g -O2 -Wall -pedantic -mtune=native   -c varinfo.cpp -o varinfo.o
g++-13 -std=gnu++17 -shared -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -Wl,-O1 -o redistmetrics.so RcppExports.o compactness.o competitiveness.o contiguity.o distances.o kirchhoff.o partisan.o reindex.o segregation.o splits.o tally.o varinfo.o -latomic -lpthread -latomic -lpthread -llapack -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -lRblas -lgfortran -lm -lquadmath -fopenmp -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -lR
make[1]: Leaving directory '/tmp/Rtmp0Lws6d/R.INSTALLdf0096e09d5fe/redistmetrics/src'
make[1]: Entering directory '/tmp/Rtmp0Lws6d/R.INSTALLdf0096e09d5fe/redistmetrics/src'
make[1]: Leaving directory '/tmp/Rtmp0Lws6d/R.INSTALLdf0096e09d5fe/redistmetrics/src'
installing to /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/00LOCK-redistmetrics/00new/redistmetrics/libs
** R
** data
*** moving datasets to lazyload DB
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
  converting help for package ‘redistmetrics’
    finding HTML links ... done
    by_plan                                 html  
    comp_bc                                 html  
    comp_box_reock                          html  
    comp_ch                                 html  
    comp_edges_rem                          html  
    comp_fh                                 html  
    comp_frac_kept                          html  
    comp_log_st                             html  
    comp_lw                                 html  
    comp_polsby                             html  
    comp_reock                              html  
    comp_schwartz                           html  
    comp_skew                               html  
    comp_x_sym                              html  
    comp_y_sym                              html  
    compet_talisman                         html  
    dist_euc                                html  
    dist_ham                                html  
    dist_info                               html  
    dist_man                                html  
    inc_pairs                               html  
    list_fn                                 html  
    nh                                      html  
    nh_m                                    html  
    nh_map                                  html  
    nh_plans                                html  
    part_bias                               html  
    part_decl                               html  
    part_decl_simple                        html  
    part_dseats                             html  
    part_dvs                                html  
    part_egap                               html  
    part_egap_ep                            html  
    part_lop_wins                           html  
    part_mean_median                        html  
    part_resp                               html  
    part_rmd                                html  
    part_sscd                               html  
    part_tau_gap                            html  
    pipe                                    html  
    prep_perims                             html  
    seg_dissim                              html  
    splits_admin                            html  
    splits_count                            html  
    splits_district_fuzzy                   html  
    splits_multi                            html  
    splits_sub_admin                        html  
    splits_total                            html  
    tally                                   html  
*** 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 (redistmetrics)