* installing to library ‘/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages’
* installing *source* package ‘handwriter’ ...
** package ‘handwriter’ 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/RtmpleQagN/R.INSTALL1b432f76acc8fc/handwriter/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 CleanBinaryImage.cpp -o CleanBinaryImage.o
CleanBinaryImage.cpp: In function ‘bool checkMask(arma::mat&, int, int, arma::umat)’:
CleanBinaryImage.cpp:247:41: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare]
  247 |   if(row < 0 || col < 0 || row+rowCount >= img.n_rows || col+colCount >= img.n_cols)
      |                            ~~~~~~~~~~~~~^~~~~~~~~~~~~
CleanBinaryImage.cpp:247:71: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare]
  247 |   if(row < 0 || col < 0 || row+rowCount >= img.n_rows || col+colCount >= img.n_cols)
      |                                                          ~~~~~~~~~~~~~^~~~~~~~~~~~~
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 MeasurementsCpp.cpp -o MeasurementsCpp.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 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 ThinImageCpp.cpp -o ThinImageCpp.o
ThinImageCpp.cpp: In function ‘arma::cube rgba2rgb(arma::cube)’:
ThinImageCpp.cpp:37:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare]
   37 |     for(int i = 0; i < img.n_rows; i++)
      |                    ~~^~~~~~~~~~~~
ThinImageCpp.cpp:39:24: 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 < img.n_cols; j++)
      |                      ~~^~~~~~~~~~~~
ThinImageCpp.cpp: In function ‘arma::mat rgb2grayscale(arma::cube)’:
ThinImageCpp.cpp:64:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare]
   64 |   for(int i = 0; i < img.n_rows; i++)
      |                  ~~^~~~~~~~~~~~
ThinImageCpp.cpp:66:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare]
   66 |     for(int j = 0; j < img.n_cols; j++)
      |                    ~~^~~~~~~~~~~~
ThinImageCpp.cpp: In function ‘arma::uvec whichToFill(arma::mat)’:
ThinImageCpp.cpp:90:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare]
   90 |   for(int i = 0; i < img.n_elem; i++)
      |                  ~~^~~~~~~~~~~~
ThinImageCpp.cpp: In function ‘void countBNeighbors_7or8(const arma::mat&, arma::uvec, arma::uvec&)’:
ThinImageCpp.cpp:110:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare]
  110 |   for(int i = 0; i < white.n_elem; i++)
      |                  ~~^~~~~~~~~~~~~~
ThinImageCpp.cpp: In function ‘arma::uvec thinImage(arma::mat)’:
ThinImageCpp.cpp:189:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare]
  189 |     if(startingNumBlack == black.n_elem)
      |        ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
ThinImageCpp.cpp: In function ‘void count246(const arma::mat&, arma::uvec, arma::vec&)’:
ThinImageCpp.cpp:203:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare]
  203 |   for(int i = 0; i < checkList.n_elem; i++)
      |                  ~~^~~~~~~~~~~~~~~~~~
ThinImageCpp.cpp: In function ‘void count468(const arma::mat&, arma::uvec, arma::vec&)’:
ThinImageCpp.cpp:216:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare]
  216 |   for(int i = 0; i < checkList.n_elem; i++)
      |                  ~~^~~~~~~~~~~~~~~~~~
ThinImageCpp.cpp: In function ‘void count248(const arma::mat&, arma::uvec, arma::vec&)’:
ThinImageCpp.cpp:229:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare]
  229 |   for(int i = 0; i < checkList.n_elem; i++)
      |                  ~~^~~~~~~~~~~~~~~~~~
ThinImageCpp.cpp: In function ‘void count268(const arma::mat&, arma::uvec, arma::vec&)’:
ThinImageCpp.cpp:242:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare]
  242 |   for(int i = 0; i < checkList.n_elem; i++)
      |                  ~~^~~~~~~~~~~~~~~~~~
ThinImageCpp.cpp: In function ‘void countBNeighbors(const arma::mat&, arma::uvec, arma::vec&)’:
ThinImageCpp.cpp:257:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare]
  257 |   for(int i = 0; i < checkList.n_elem; i++)
      |                  ~~^~~~~~~~~~~~~~~~~~
ThinImageCpp.cpp: In function ‘void countWBTransitions(const arma::mat&, arma::uvec, arma::vec&)’:
ThinImageCpp.cpp:275:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare]
  275 |   for(int i = 0; i < checkList.n_elem; i++)
      |                  ~~^~~~~~~~~~~~~~~~~~
g++-13 -std=gnu++17 -shared -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -Wl,-O1 -o handwriter.so CleanBinaryImage.o MeasurementsCpp.o RcppExports.o ThinImageCpp.o -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -lR
make[1]: Leaving directory '/tmp/RtmpleQagN/R.INSTALL1b432f76acc8fc/handwriter/src'
make[1]: Entering directory '/tmp/RtmpleQagN/R.INSTALL1b432f76acc8fc/handwriter/src'
make[1]: Leaving directory '/tmp/RtmpleQagN/R.INSTALL1b432f76acc8fc/handwriter/src'
installing to /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/00LOCK-handwriter/00new/handwriter/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 ‘handwriter’
    finding HTML links ... done
    AddLetterImages                         html  
    SaveAllLetterPlots                      html  
    finding level-2 HTML links ... done

    about_variable                          html  
    addToFeatures                           html  
    analyze_questioned_documents            html  
    calculate_accuracy                      html  
    cleanBinaryImage                        html  
    csafe                                   html  
    drop_burnin                             html  
    example_analysis_1chain                 html  
    example_cluster_template                html  
    example_model_1chain                    html  
    extractGraphs                           html  
    fit_model                               html  
    format_template_data                    html  
    get_cluster_fill_counts                 html  
    get_clusters_batch                      html  
    get_credible_intervals                  html  
    get_posterior_probabilities             html  
    handwriter-package                      html  
    london                                  html  
    make_clustering_templates               html  
    message                                 html  
    nature1                                 html  
    plotImage                               html  
    plotImageThinned                        html  
    plotLetter                              html  
    plotLine                                html  
    plotNodes                               html  
    plot_cluster_fill_counts                html  
    plot_cluster_fill_rates                 html  
    plot_credible_intervals                 html  
    plot_posterior_probabilities            html  
    plot_trace                              html  
    processDocument                         html  
    processHandwriting                      html  
    process_batch_dir                       html  
    process_batch_list                      html  
    readPNGBinary                           html  
    read_and_process                        html  
    rgb2grayscale                           html  
    rgba2rgb                                html  
    thinImage                               html  
    twoSent                                 html  
    whichToFill                             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 (handwriter)