* installing to library ‘/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages’
* installing *source* package ‘handwriter’ ...
** package ‘handwriter’ 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/RtmposDEiC/R.INSTALL372c0b46e49c66/handwriter/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/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++-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/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c ClusterFuncs.cpp -o ClusterFuncs.o
ClusterFuncs.cpp: In function ‘arma::Mat<double> pathToRC(const arma::Col<int>&, const Rcpp::Dimension&)’:
ClusterFuncs.cpp:35:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘arma::uword’ {aka ‘unsigned int’} [-Wsign-compare]
   35 |     for (int i = 0; i < pvec.size(); ++i) {
      |                     ~~^~~~~~~~~~~~~
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/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c MeasurementsCpp.cpp -o MeasurementsCpp.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/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c RcppExports.cpp -o RcppExports.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/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++-14 -std=gnu++17 -shared -L/home/hornik/tmp/R.check/r-release-gcc/Work/build/lib -Wl,-O1 -o handwriter.so CleanBinaryImage.o ClusterFuncs.o MeasurementsCpp.o RcppExports.o ThinImageCpp.o -L/home/hornik/tmp/R.check/r-release-gcc/Work/build/lib -lR
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmposDEiC/R.INSTALL372c0b46e49c66/handwriter/src'
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmposDEiC/R.INSTALL372c0b46e49c66/handwriter/src'
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmposDEiC/R.INSTALL372c0b46e49c66/handwriter/src'
installing to /home/hornik/tmp/R.check/r-release-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
*** 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)