* installing *source* package ‘ddalpha’ ...
** package ‘ddalpha’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
clang++ -arch arm64 -std=gnu++14 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/BH/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/Rcpp/include' -I/opt/R/arm64/include   -fPIC  -falign-functions=64 -Wall -g -O2  -c AlphaProcedure.cpp -o AlphaProcedure.o
clang++ -arch arm64 -std=gnu++14 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/BH/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/Rcpp/include' -I/opt/R/arm64/include   -fPIC  -falign-functions=64 -Wall -g -O2  -c BandDepth.cpp -o BandDepth.o
clang++ -arch arm64 -std=gnu++14 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/BH/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/Rcpp/include' -I/opt/R/arm64/include   -fPIC  -falign-functions=64 -Wall -g -O2  -c Common.cpp -o Common.o
clang++ -arch arm64 -std=gnu++14 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/BH/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/Rcpp/include' -I/opt/R/arm64/include   -fPIC  -falign-functions=64 -Wall -g -O2  -c DKnn.cpp -o DKnn.o
clang++ -arch arm64 -std=gnu++14 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/BH/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/Rcpp/include' -I/opt/R/arm64/include   -fPIC  -falign-functions=64 -Wall -g -O2  -c HD.cpp -o HD.o
HD.cpp:25:14: warning: unused variable 'eps_Cmb1' [-Wunused-const-variable]
const double eps_Cmb1 = 1e-8;
             ^
1 warning generated.
clang++ -arch arm64 -std=gnu++14 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/BH/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/Rcpp/include' -I/opt/R/arm64/include   -fPIC  -falign-functions=64 -Wall -g -O2  -c Knn.cpp -o Knn.o
clang++ -arch arm64 -std=gnu++14 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/BH/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/Rcpp/include' -I/opt/R/arm64/include   -fPIC  -falign-functions=64 -Wall -g -O2  -c LensDepth.cpp -o LensDepth.o
clang++ -arch arm64 -std=gnu++14 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/BH/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/Rcpp/include' -I/opt/R/arm64/include   -fPIC  -falign-functions=64 -Wall -g -O2  -c Mahalanobis.cpp -o Mahalanobis.o
Mahalanobis.cpp:32:6: warning: unused variable 'res' [-Wunused-variable]
        int res = lu_factorize(A, pm);
            ^
1 warning generated.
clang++ -arch arm64 -std=gnu++14 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/BH/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/Rcpp/include' -I/opt/R/arm64/include   -fPIC  -falign-functions=64 -Wall -g -O2  -c OjaDepth.cpp -o OjaDepth.o
clang++ -arch arm64 -std=gnu++14 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/BH/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/Rcpp/include' -I/opt/R/arm64/include   -fPIC  -falign-functions=64 -Wall -g -O2  -c Polynomial.cpp -o Polynomial.o
Polynomial.cpp:396:18: warning: unused variable 'tmp' [-Wunused-variable]
        for (int i = 0, tmp; i < numPoints; i++){ input2[i][0] = input[i][1]; input2[i][1] = input[i][0]; } // swap columns
                        ^
1 warning generated.
clang++ -arch arm64 -std=gnu++14 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/BH/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/Rcpp/include' -I/opt/R/arm64/include   -fPIC  -falign-functions=64 -Wall -g -O2  -c PotentialDepth.cpp -o PotentialDepth.o
clang++ -arch arm64 -std=gnu++14 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/BH/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/Rcpp/include' -I/opt/R/arm64/include   -fPIC  -falign-functions=64 -Wall -g -O2  -c ProjectionDepth.cpp -o ProjectionDepth.o
ProjectionDepth.cpp:16:12: warning: unused function 'CompareAsc' [-Wunused-function]
static int CompareAsc(OrderRec x, OrderRec y)
           ^
ProjectionDepth.cpp:21:12: warning: unused function 'CompareDec' [-Wunused-function]
static int CompareDec(OrderRec x, OrderRec y)
           ^
2 warnings generated.
clang++ -arch arm64 -std=gnu++14 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/BH/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/Rcpp/include' -I/opt/R/arm64/include   -fPIC  -falign-functions=64 -Wall -g -O2  -c SimplicialDepth.cpp -o SimplicialDepth.o
SimplicialDepth.cpp:46:8: warning: unused variable 'sc' [-Wunused-variable]
                bool sc = numSimplicesChecked == div0;
                     ^
1 warning generated.
clang++ -arch arm64 -std=gnu++14 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/BH/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/Rcpp/include' -I/opt/R/arm64/include   -fPIC  -falign-functions=64 -Wall -g -O2  -c TukeyDepth.cpp -o TukeyDepth.o
clang++ -arch arm64 -std=gnu++14 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/BH/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/Rcpp/include' -I/opt/R/arm64/include   -fPIC  -falign-functions=64 -Wall -g -O2  -c ZonoidDepth.cpp -o ZonoidDepth.o
clang++ -arch arm64 -std=gnu++14 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/BH/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/Rcpp/include' -I/opt/R/arm64/include   -fPIC  -falign-functions=64 -Wall -g -O2  -c asa047.cpp -o asa047.o
clang++ -arch arm64 -std=gnu++14 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/BH/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/Rcpp/include' -I/opt/R/arm64/include   -fPIC  -falign-functions=64 -Wall -g -O2  -c ddalpha.cpp -o ddalpha.o
/opt/R/arm64/bin/gfortran -mtune=native -fno-optimize-sibling-calls  -fPIC  -Wall -g -O2  -c depth.fd.f -o depth.fd.o
depth.fd.f:308:6:

  308 |       double precision FUNCTION MAX(A,B)
      |      1
Warning: ‘max’ declared at (1) is also the name of an intrinsic.  It can only be called via an explicit interface or if declared EXTERNAL. [-Wintrinsic-shadow]
depth.fd.f:119:28:

  119 |       integer I,J,K,OM(NR),L
      |                            1
Warning: Unused variable ‘l’ declared at (1) [-Wunused-variable]
depth.fd.f:119:26:

  119 |       integer I,J,K,OM(NR),L
      |                          1
Warning: Unused variable ‘om’ declared at (1) [-Wunused-variable]
depth.fd.f:1182:25:

 1182 |       INTEGER hF(N),I,J,K
      |                         1
Warning: Unused variable ‘k’ declared at (1) [-Wunused-variable]
depth.fd.f:1216:25:

 1216 |       INTEGER hF(N),I,J,K
      |                         1
Warning: Unused variable ‘k’ declared at (1) [-Wunused-variable]
depth.fd.f:241:24:

  241 |       INTEGER FUNCTION K(M,J)
      |                        ^
Warning: ‘__result_k’ may be used uninitialized [-Wmaybe-uninitialized]
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/BH/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/Rcpp/include' -I/opt/R/arm64/include   -fPIC  -falign-functions=64 -Wall -g -O2  -c init.c -o init.o
clang++ -arch arm64 -std=gnu++14 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/BH/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/Rcpp/include' -I/opt/R/arm64/include   -fPIC  -falign-functions=64 -Wall -g -O2  -c stdafx.cpp -o stdafx.o
clang++ -arch arm64 -std=gnu++14 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -single_module -multiply_defined suppress -L/Library/Frameworks/R.framework/Resources/lib -L/opt/R/arm64/lib -o ddalpha.so AlphaProcedure.o BandDepth.o Common.o DKnn.o HD.o Knn.o LensDepth.o Mahalanobis.o OjaDepth.o Polynomial.o PotentialDepth.o ProjectionDepth.o SimplicialDepth.o TukeyDepth.o ZonoidDepth.o asa047.o ddalpha.o depth.fd.o init.o stdafx.o -L/opt/R/arm64/gfortran/lib/gcc/aarch64-apple-darwin20.6.0/12.0.1 -L/opt/R/arm64/gfortran/lib -lgfortran -lemutls_w -lquadmath -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation
ld: warning: could not create compact unwind for _fd2_: registers 78 and 79 not saved contiguously in frame
ld: warning: dylib (/opt/R/arm64/gfortran/lib/libgfortran.dylib) was built for newer macOS version (11.5) than being linked (11.0)
ld: warning: could not create compact unwind for _funmd_: registers 72 and 73 not saved contiguously in frame
ld: warning: could not create compact unwind for _kernsm_: registers 74 and 75 not saved contiguously in frame
ld: warning: could not create compact unwind for _cvkernsm_: registers 27 and 28 not saved contiguously in frame
ld: warning: could not create compact unwind for _fund1_: registers 27 and 28 not saved contiguously in frame
ld: warning: could not create compact unwind for _diffd_: registers 27 and 28 not saved contiguously in frame
ld: warning: could not create compact unwind for _funrpd1_: registers 27 and 28 not saved contiguously in frame
ld: warning: could not create compact unwind for _fund2_: registers 27 and 28 not saved contiguously in frame
ld: warning: could not create compact unwind for _funrpd2_: registers 27 and 28 not saved contiguously in frame
ld: warning: dylib (/opt/R/arm64/gfortran/lib/libquadmath.dylib) was built for newer macOS version (11.5) than being linked (11.0)
ld: warning: could not create compact unwind for ___emutls_get_address: registers 23 and 24 not saved contiguously in frame
installing to /Volumes/Builds/packages/big-sur-arm64/results/4.2/ddalpha.Rcheck/00LOCK-ddalpha/00new/ddalpha/libs
** generating debug symbols (dSYM)
** R
** data
** inst
** 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 (ddalpha)