* installing to library ‘/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages’
* installing *source* package ‘curveDepth’ ...
** package ‘curveDepth’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘g++-14 (Debian 14.2.0-8) 14.2.0’
using C++11
make[1]: Entering directory '/home/hornik/tmp/scratch/Rtmpvs8ZGE/R.INSTALL2534d92fbf9e7e/curveDepth/src'
g++-14 -std=gnu++11 -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++11 -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 depthsCurveHfsp.cpp -o depthsCurveHfsp.o
depthsCurveHfsp.cpp: In function ‘Rcpp::NumericMatrix distImages(arma::cube, int)’:
depthsCurveHfsp.cpp:104:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare]
  104 |   for (int i = 0; i < images.n_slices; i++){
      |                   ~~^~~~~~~~~~~~~~~~~
depthsCurveHfsp.cpp:117:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  117 |   for (int i = 0; i < images.n_slices - 1; i++){
      |                   ~~^~~~~~~~~~~~~~~~~~~~~
depthsCurveHfsp.cpp:121:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare]
  121 |     for (int j = i + 1; j < images.n_slices; j++){
      |                         ~~^~~~~~~~~~~~~~~~~
depthsCurveHfsp.cpp: In function ‘Rcpp::List images2curves(arma::cube)’:
depthsCurveHfsp.cpp:1012:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare]
 1012 |   for (int i = 0; i < images.n_slices; i++){
      |                   ~~^~~~~~~~~~~~~~~~~
In file included from routines.h:16,
                 from stdafx.h:21,
                 from depthsCurveHfsp.cpp:25:
hypermatrix.h: In instantiation of ‘int hypermatrix<BlockType>::clear() [with BlockType = double]’:
hypermatrix.h:155:14:   required from ‘typeHypermatrix<UnitType>::typeHypermatrix(int, int*) [with UnitType = double]’
  155 |   this->clear();
      |   ~~~~~~~~~~~^~
routines.h:202:73:   required from here
  202 |   ImageDensity(int d, int* ns) : typeHypermatrix<double>(d, ns), Curve(d) {
      |                                                                         ^
hypermatrix.h:42:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long long unsigned int’ [-Wsign-compare]
   42 |     for (int i = 0; i < size; i++){
      |                     ~~^~~~~~
g++-14 -std=gnu++11 -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 routines.cpp -o routines.o
routines.cpp: In function ‘int generateDirections(int, int, int, double**)’:
routines.cpp:68:30: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
   68 |   for (unsigned int i = 0; i < nDirs; i++){
      |                            ~~^~~~~~~
routines.cpp:70:32: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
   70 |     for (unsigned int j = 0; j < d; j++){
      |                              ~~^~~
routines.cpp:76:32: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
   76 |     for (unsigned int j = 0; j < d; j++){
      |                              ~~^~~
In file included from routines.h:16,
                 from stdafx.h:21,
                 from routines.cpp:16:
hypermatrix.h: In instantiation of ‘UnitType typeHypermatrix<UnitType>::getNNonzero() [with UnitType = double]’:
routines.cpp:494:28:   required from here
  494 |   int nPixels = getNNonzero();
      |                 ~~~~~~~~~~~^~
hypermatrix.h:204:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long long unsigned int’ [-Wsign-compare]
  204 |   for (int i = 0; i < this->size; i++){
      |                   ~~^~~~~~~~~~~~
hypermatrix.h: In instantiation of ‘int typeHypermatrix<UnitType>::add(typeHypermatrix<UnitType>&) [with UnitType = double]’:
routines.cpp:1244:19:   required from here
 1244 |     genPattern.add(imageDensities[i]);
      |     ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
hypermatrix.h:163:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long long unsigned int’ [-Wsign-compare]
  163 |   for (int i = 0; i < this->size; i++){
      |                   ~~^~~~~~~~~~~~
hypermatrix.h: In instantiation of ‘int typeHypermatrix<UnitType>::standardize() [with UnitType = double]’:
routines.cpp:1246:25:   required from here
 1246 |   genPattern.standardize();
      |   ~~~~~~~~~~~~~~~~~~~~~~^~
hypermatrix.h:186:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long long unsigned int’ [-Wsign-compare]
  186 |     for (int i = 0; i < this->size; i++){
      |                     ~~^~~~~~~~~~~~
hypermatrix.h: In instantiation of ‘UnitType typeHypermatrix<UnitType>::getTotal() [with UnitType = double]’:
routines.cpp:1247:31:   required from here
 1247 |   Rcout << genPattern.getTotal() << " ";
      |            ~~~~~~~~~~~~~~~~~~~^~
hypermatrix.h:195:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long long unsigned int’ [-Wsign-compare]
  195 |   for (int i = 0; i < this->size; i++){
      |                   ~~^~~~~~~~~~~~
hypermatrix.h: In instantiation of ‘int hypermatrix<BlockType>::clear() [with BlockType = double]’:
hypermatrix.h:155:14:   required from ‘typeHypermatrix<UnitType>::typeHypermatrix(int, int*) [with UnitType = double]’
  155 |   this->clear();
      |   ~~~~~~~~~~~^~
routines.h:202:73:   required from here
  202 |   ImageDensity(int d, int* ns) : typeHypermatrix<double>(d, ns), Curve(d) {
      |                                                                         ^
hypermatrix.h:42:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long long unsigned int’ [-Wsign-compare]
   42 |     for (int i = 0; i < size; i++){
      |                     ~~^~~~~~
hypermatrix.h: In instantiation of ‘int hypermatrix<BlockType>::clear() [with BlockType = long long unsigned int]’:
hypermatrix.h:68:33:   required from ‘void binaryHypermatrix<BlockType>::clear() [with BlockType = long long unsigned int]’
   68 |           hypermatrix<BlockType>::clear();
      |           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
routines.cpp:493:17:   required from here
  493 |   binImage.clear();
      |   ~~~~~~~~~~~~~~^~
hypermatrix.h:42:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long long unsigned int’ [-Wsign-compare]
   42 |     for (int i = 0; i < size; i++){
      |                     ~~^~~~~~
g++-14 -std=gnu++11 -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 voxelize.cpp -o voxelize.o
In file included from routines.h:16,
                 from stdafx.h:21,
                 from voxelize.cpp:13:
hypermatrix.h: In instantiation of ‘int hypermatrix<BlockType>::clear() [with BlockType = double]’:
hypermatrix.h:155:14:   required from ‘typeHypermatrix<UnitType>::typeHypermatrix(int, int*) [with UnitType = double]’
  155 |   this->clear();
      |   ~~~~~~~~~~~^~
routines.h:202:73:   required from here
  202 |   ImageDensity(int d, int* ns) : typeHypermatrix<double>(d, ns), Curve(d) {
      |                                                                         ^
hypermatrix.h:42:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long long unsigned int’ [-Wsign-compare]
   42 |     for (int i = 0; i < size; i++){
      |                     ~~^~~~~~
hypermatrix.h: In instantiation of ‘int hypermatrix<BlockType>::clear() [with BlockType = long long unsigned int]’:
hypermatrix.h:68:33:   required from ‘void binaryHypermatrix<BlockType>::clear() [with BlockType = long long unsigned int]’
   68 |           hypermatrix<BlockType>::clear();
      |           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
hypermatrix.h:85:8:   required from ‘binaryHypermatrix<BlockType>::binaryHypermatrix(int, int*) [with BlockType = long long unsigned int]’
   85 |         this->clear();
      |         ~~~~~~^~~~~
voxelize.cpp:101:70:   required from here
  101 |   binaryHypermatrix<unsigned long long> checkVoxels(nFcns, nDiscretes);
      |                                                                      ^
hypermatrix.h:42:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long long unsigned int’ [-Wsign-compare]
   42 |     for (int i = 0; i < size; i++){
      |                     ~~^~~~~~
g++-14 -std=gnu++11 -shared -L/home/hornik/tmp/R.check/r-release-gcc/Work/build/lib -Wl,-O1 -o curveDepth.so RcppExports.o depthsCurveHfsp.o routines.o voxelize.o -L/home/hornik/tmp/R.check/r-release-gcc/Work/build/lib -lR
make[1]: Leaving directory '/home/hornik/tmp/scratch/Rtmpvs8ZGE/R.INSTALL2534d92fbf9e7e/curveDepth/src'
make[1]: Entering directory '/home/hornik/tmp/scratch/Rtmpvs8ZGE/R.INSTALL2534d92fbf9e7e/curveDepth/src'
make[1]: Leaving directory '/home/hornik/tmp/scratch/Rtmpvs8ZGE/R.INSTALL2534d92fbf9e7e/curveDepth/src'
installing to /home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/00LOCK-curveDepth/00new/curveDepth/libs
** R
** data
*** moving datasets to lazyload DB
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** 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 (curveDepth)