* installing to library ‘/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages’
* installing *source* package ‘ggbrain’ ...
** package ‘ggbrain’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘g++-13 (Debian 13.2.0-23) 13.2.0’
make[1]: Entering directory '/tmp/RtmpqILZ87/R.INSTALL13394651c86d05/ggbrain/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/usr/local/include -D_FORTIFY_SOURCE=3   -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/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c count_neighbors.cpp -o count_neighbors.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/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c df2mat.cpp -o df2mat.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/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c fill_from_edge.cpp -o fill_from_edge.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/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c find_threads.cpp -o find_threads.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/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c flood_fill.cpp -o flood_fill.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/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c integer_mode.cpp -o integer_mode.o
integer_mode.cpp: In function ‘int integer_mode(arma::ivec, bool)’:
integer_mode.cpp:25:12: warning: comparison of integer expressions of different signedness: ‘int’ and ‘arma::uword’ {aka ‘unsigned int’} [-Wsign-compare]
   25 |   while (j < v.size()) {
      |          ~~^~~~~~~~~~
integer_mode.cpp:30:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘arma::uword’ {aka ‘unsigned int’} [-Wsign-compare]
   30 |     while(v[j] == number && j <= v.size()) { j++; }
      |                             ~~^~~~~~~~~~~
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/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c mat2df.cpp -o mat2df.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/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c nearest_pts.cpp -o nearest_pts.o
nearest_pts.cpp: In function ‘arma::vec nearest_pts(int, int, const arma::mat&, int, int, bool)’:
nearest_pts.cpp:36:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare]
   36 |   for (int i = 0; i < search.n_rows; i++) {
      |                   ~~^~~~~~~~~~~~~~~
nearest_pts.cpp:39:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare]
   39 |     for (int j = 0; j < search.n_cols; j++) {
      |                     ~~^~~~~~~~~~~~~~~
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/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c nn_impute.cpp -o nn_impute.o
nn_impute.cpp: In function ‘arma::mat nn_impute(const arma::mat&, int, int, std::string, bool)’:
nn_impute.cpp:29:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘arma::uword’ {aka ‘unsigned int’} [-Wsign-compare]
   29 |   for (int i = 0; i < na_indices.size(); i++) {
      |                   ~~^~~~~~~~~~~~~~~~~~~
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/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c print_mat.cpp -o print_mat.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/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c sort_mat.cpp -o sort_mat.o
g++-13 -std=gnu++17 -shared -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -Wl,-O1 -o ggbrain.so RcppExports.o count_neighbors.o df2mat.o fill_from_edge.o find_threads.o flood_fill.o integer_mode.o mat2df.o nearest_pts.o nn_impute.o print_mat.o sort_mat.o -llapack -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -lRblas -lgfortran -lm -lquadmath -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -lR
make[1]: Leaving directory '/tmp/RtmpqILZ87/R.INSTALL13394651c86d05/ggbrain/src'
make[1]: Entering directory '/tmp/RtmpqILZ87/R.INSTALL13394651c86d05/ggbrain/src'
make[1]: Leaving directory '/tmp/RtmpqILZ87/R.INSTALL13394651c86d05/ggbrain/src'
installing to /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/00LOCK-ggbrain/00new/ggbrain/libs
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
  converting help for package ‘ggbrain’
    finding HTML links ... done
    annotate_coordinates                    html  
    annotate_panel                          html  
    center_matrix                           html  
    contrast_parser                         html  
    count_neighbors                         html  
    define                                  html  
    df2mat                                  html  
    fill_from_edge                          html  
    find_threads                            html  
    flood_fill                              html  
    geom_brain                              html  
    geom_outline                            html  
    geom_region_label                       html  
    geom_region_label_repel                 html  
    geom_region_text                        html  
    geom_region_text_repel                  html  
    ggb                                     html  
    ggbrain                                 html  
    ggbrain_images                          html  
    ggbrain_label                           html  
    ggbrain_layer                           html  
    ggbrain_layer_brain                     html  
    ggbrain_layer_outline                   html  
    ggbrain_panel                           html  
    ggbrain_plot                            html  
    ggbrain_slices                          html  
    ggplot_add.ggbrain_label                html  
    ggplot_add.ggbrain_layer                html  
    ggplot_add.ggbrain_panel                html  
    images                                  html  
    integer_breaks                          html  
    integer_mode                            html  
    mat2df                                  html  
    montage                                 html  
    named_list                              html  
    nearest_pts                             html  
    nn_impute                               html  
    plot.ggb                                html  
    plot.ggbrain_panel                      html  
    plot.ggbrain_plot                       html  
    plus-.ggb                               html  
    plus-.ggbrain_images                    html  
    range_breaks                            html  
    render                                  html  
    scale_fill_bisided                      html  
    slices                                  html  
    sort_mat                                html  
** 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 (ggbrain)