* installing *source* package ‘TukeyRegion’ ...
** package ‘TukeyRegion’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘Apple clang version 14.0.0 (clang-1400.0.29.202)’
using SDK: ‘MacOSX11.3.sdk’
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I"libqhull" -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c TukeyRegionR.cpp -o TukeyRegionR.o
In file included from TukeyRegionR.cpp:6:
In file included from ./TukeyRegion.h:23:
./common.h:6:9: warning: 'M_PI' macro redefined [-Wmacro-redefined]
#define M_PI 3.14159265358979323846
        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/math.h:694:9: note: previous definition is here
#define M_PI        3.14159265358979323846264338327950288   /* pi             */
        ^
In file included from TukeyRegionR.cpp:6:
In file included from ./TukeyRegion.h:24:
./hypermatrix.h:37:6: warning: unused variable 'size' [-Wunused-variable]
        int size = index.size();
            ^
2 warnings generated.
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I"libqhull" -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c RcppExports.cpp -o RcppExports.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I"libqhull" -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c TukeyRegion.cpp -o TukeyRegion.o
In file included from TukeyRegion.cpp:6:
In file included from ./TukeyRegion.h:23:
./common.h:6:9: warning: 'M_PI' macro redefined [-Wmacro-redefined]
#define M_PI 3.14159265358979323846
        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/math.h:694:9: note: previous definition is here
#define M_PI        3.14159265358979323846264338327950288   /* pi             */
        ^
In file included from TukeyRegion.cpp:6:
In file included from ./TukeyRegion.h:24:
./hypermatrix.h:37:6: warning: unused variable 'size' [-Wunused-variable]
        int size = index.size();
            ^
In file included from TukeyRegion.cpp:6:
In file included from ./TukeyRegion.h:23:
./common.h:26:12: warning: unused function 'compareAsc' [-Wunused-function]
static int compareAsc(IndexRec x, IndexRec y){
           ^
3 warnings generated.
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I"libqhull" -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c common.cpp -o common.o
In file included from common.cpp:6:
In file included from ./TukeyRegion.h:23:
./common.h:6:9: warning: 'M_PI' macro redefined [-Wmacro-redefined]
#define M_PI 3.14159265358979323846
        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/math.h:694:9: note: previous definition is here
#define M_PI        3.14159265358979323846264338327950288   /* pi             */
        ^
In file included from common.cpp:6:
In file included from ./TukeyRegion.h:24:
./hypermatrix.h:37:6: warning: unused variable 'size' [-Wunused-variable]
        int size = index.size();
            ^
2 warnings generated.
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I"libqhull" -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c qhAdapter.cpp -o qhAdapter.o
In file included from qhAdapter.cpp:6:
In file included from ./TukeyRegion.h:23:
./common.h:6:9: warning: 'M_PI' macro redefined [-Wmacro-redefined]
#define M_PI 3.14159265358979323846
        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/math.h:694:9: note: previous definition is here
#define M_PI        3.14159265358979323846264338327950288   /* pi             */
        ^
In file included from qhAdapter.cpp:6:
In file included from ./TukeyRegion.h:24:
./hypermatrix.h:37:6: warning: unused variable 'size' [-Wunused-variable]
        int size = index.size();
            ^
qhAdapter.cpp:32:22: warning: unused variable 'vertexp' [-Wunused-variable]
                vertexT *vertex, **vertexp;
                                   ^
In file included from qhAdapter.cpp:6:
In file included from ./TukeyRegion.h:23:
./common.h:26:12: warning: unused function 'compareAsc' [-Wunused-function]
static int compareAsc(IndexRec x, IndexRec y){
           ^
4 warnings generated.
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I"libqhull" -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c TConvexBody.cpp -o TConvexBody.o
In file included from TConvexBody.cpp:6:
In file included from ./TukeyRegion.h:23:
./common.h:6:9: warning: 'M_PI' macro redefined [-Wmacro-redefined]
#define M_PI 3.14159265358979323846
        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/math.h:694:9: note: previous definition is here
#define M_PI        3.14159265358979323846264338327950288   /* pi             */
        ^
In file included from TConvexBody.cpp:6:
In file included from ./TukeyRegion.h:24:
./hypermatrix.h:37:6: warning: unused variable 'size' [-Wunused-variable]
        int size = index.size();
            ^
TConvexBody.cpp:184:24: warning: unused variable 'vertexp' [-Wunused-variable]
    vertexT *vertex, **vertexp;
                       ^
TConvexBody.cpp:846:8: warning: unused variable 'exists' [-Wunused-variable]
  bool exists = true;
       ^
In file included from TConvexBody.cpp:6:
In file included from ./TukeyRegion.h:23:
./common.h:26:12: warning: unused function 'compareAsc' [-Wunused-function]
static int compareAsc(IndexRec x, IndexRec y){
           ^
5 warnings generated.
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I"libqhull" -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c TRegion.cpp -o TRegion.o
In file included from TRegion.cpp:6:
In file included from ./TRegion.h:6:
In file included from ./TukeyRegion.h:23:
./common.h:6:9: warning: 'M_PI' macro redefined [-Wmacro-redefined]
#define M_PI 3.14159265358979323846
        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/math.h:694:9: note: previous definition is here
#define M_PI        3.14159265358979323846264338327950288   /* pi             */
        ^
In file included from TRegion.cpp:6:
In file included from ./TRegion.h:6:
In file included from ./TukeyRegion.h:24:
./hypermatrix.h:37:6: warning: unused variable 'size' [-Wunused-variable]
        int size = index.size();
            ^
TRegion.cpp:308:8: warning: unused variable 'innerPointFound' [-Wunused-variable]
  bool innerPointFound = false;
       ^
In file included from TRegion.cpp:6:
In file included from ./TRegion.h:6:
In file included from ./TukeyRegion.h:23:
./common.h:26:12: warning: unused function 'compareAsc' [-Wunused-function]
static int compareAsc(IndexRec x, IndexRec y){
           ^
4 warnings generated.
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I"libqhull" -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c TkRegions.cpp -o TkRegions.o
In file included from TkRegions.cpp:6:
In file included from ./TkRegions.h:6:
In file included from ./TukeyRegion.h:23:
./common.h:6:9: warning: 'M_PI' macro redefined [-Wmacro-redefined]
#define M_PI 3.14159265358979323846
        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/math.h:694:9: note: previous definition is here
#define M_PI        3.14159265358979323846264338327950288   /* pi             */
        ^
In file included from TkRegions.cpp:6:
In file included from ./TkRegions.h:6:
In file included from ./TukeyRegion.h:24:
./hypermatrix.h:37:6: warning: unused variable 'size' [-Wunused-variable]
        int size = index.size();
            ^
In file included from TkRegions.cpp:6:
In file included from ./TkRegions.h:6:
In file included from ./TukeyRegion.h:23:
./common.h:26:12: warning: unused function 'compareAsc' [-Wunused-function]
static int compareAsc(IndexRec x, IndexRec y){
           ^
3 warnings generated.
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I"libqhull" -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c libqhull/geom.c -o libqhull/geom.o
libqhull/geom.c:584:24: warning: variable 'flip' set but not used [-Wunused-but-set-variable]
  int i, j, k, pivoti, flip=0;
                       ^
libqhull/geom.c:897:10: warning: variable 'freelistp' set but not used [-Wunused-but-set-variable]
  void **freelistp; /* used !qh_NOmem */
         ^
libqhull/geom.c:935:10: warning: variable 'freelistp' set but not used [-Wunused-but-set-variable]
  void **freelistp; /* used !qh_NOmem */
         ^
3 warnings generated.
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I"libqhull" -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c libqhull/geom2.c -o libqhull/geom2.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I"libqhull" -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c libqhull/global.c -o libqhull/global.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I"libqhull" -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c libqhull/io.c -o libqhull/io.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I"libqhull" -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c libqhull/libqhull.c -o libqhull/libqhull.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I"libqhull" -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c libqhull/mem.c -o libqhull/mem.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I"libqhull" -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c libqhull/merge.c -o libqhull/merge.o
libqhull/merge.c:219:10: warning: variable 'freelistp' set but not used [-Wunused-but-set-variable]
  void **freelistp;  /* used !qh_NOmem */
         ^
libqhull/merge.c:322:10: warning: variable 'freelistp' set but not used [-Wunused-but-set-variable]
  void **freelistp; /* used !qh_NOmem */
         ^
libqhull/merge.c:1840:17: warning: variable 'total' set but not used [-Wunused-but-set-variable]
  int cycles=0, total=0, facets, nummerge;
                ^
libqhull/merge.c:2086:10: warning: variable 'freelistp' set but not used [-Wunused-but-set-variable]
  void **freelistp; /* used !qh_NOmem */
         ^
4 warnings generated.
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I"libqhull" -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c libqhull/poly.c -o libqhull/poly.o
libqhull/poly.c:248:10: warning: variable 'freelistp' set but not used [-Wunused-but-set-variable]
  void **freelistp; /* used !qh_NOmem */
         ^
libqhull/poly.c:564:10: warning: variable 'freelistp' set but not used [-Wunused-but-set-variable]
  void **freelistp; /* used !qh_NOmem */
         ^
libqhull/poly.c:981:10: warning: variable 'freelistp' set but not used [-Wunused-but-set-variable]
  void **freelistp; /* used !qh_NOmem */
         ^
libqhull/poly.c:1014:10: warning: variable 'freelistp' set but not used [-Wunused-but-set-variable]
  void **freelistp;   /* used !qh_NOmem */
         ^
4 warnings generated.
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I"libqhull" -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c libqhull/poly2.c -o libqhull/poly2.o
libqhull/poly2.c:1076:10: warning: variable 'freelistp' set but not used [-Wunused-but-set-variable]
  void **freelistp; /* used !qh_NOmem */
         ^
1 warning generated.
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I"libqhull" -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c libqhull/qset.c -o libqhull/qset.o
libqhull/qset.c:717:10: warning: variable 'freelistp' set but not used [-Wunused-but-set-variable]
  void **freelistp;  /* used !qh_NOmem */
         ^
libqhull/qset.c:927:10: warning: variable 'freelistp' set but not used [-Wunused-but-set-variable]
  void **freelistp; /* used !qh_NOmem */
         ^
2 warnings generated.
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I"libqhull" -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c libqhull/random.c -o libqhull/random.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I"libqhull" -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c libqhull/rboxlib.c -o libqhull/rboxlib.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I"libqhull" -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c libqhull/stat.c -o libqhull/stat.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I"libqhull" -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c libqhull/user.c -o libqhull/user.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I"libqhull" -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c libqhull/usermem.c -o libqhull/usermem.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I"libqhull" -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c libqhull/userprintf.c -o libqhull/userprintf.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I"libqhull" -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c libqhull/userprintf_rbox.c -o libqhull/userprintf_rbox.o
clang++ -arch arm64 -std=gnu++17 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -L/Library/Frameworks/R.framework/Resources/lib -L/opt/R/arm64/lib -o TukeyRegion.so TukeyRegionR.o RcppExports.o TukeyRegion.o common.o qhAdapter.o TConvexBody.o TRegion.o TkRegions.o libqhull/geom.o libqhull/geom2.o libqhull/global.o libqhull/io.o libqhull/libqhull.o libqhull/mem.o libqhull/merge.o libqhull/poly.o libqhull/poly2.o libqhull/qset.o libqhull/random.o libqhull/rboxlib.o libqhull/stat.o libqhull/user.o libqhull/usermem.o libqhull/userprintf.o libqhull/userprintf_rbox.o -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation
installing to /Volumes/Builds/packages/big-sur-arm64/results/4.4/TukeyRegion.Rcheck/00LOCK-TukeyRegion/00new/TukeyRegion/libs
** generating debug symbols (dSYM)
** R
** 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 (TukeyRegion)