* installing *source* package ‘compositions’ ...
** package ‘compositions’ 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 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c compositions.c -o compositions.o
compositions.c:218:18: warning: unused variable 'zero' [-Wunused-variable]
    const double zero=0.0;    // for BLAS
                 ^
compositions.c:219:18: warning: unused variable 'one' [-Wunused-variable]
    const double one =1.0;    // for BLAS
                 ^
compositions.c:210:15: warning: unused variable 'D2' [-Wunused-variable]
    const int D2=D*D;   // size of a error matrix
              ^
compositions.c:215:16: warning: unused variable 'transA' [-Wunused-variable]
    const char transA='N';    // for BLAS
               ^
compositions.c:216:16: warning: unused variable 'transB' [-Wunused-variable]
    const char transB='T';    // for BLAS
               ^
compositions.c:458:16: warning: unused variable 'transB' [-Wunused-variable]
    const char transB='T';    // for BLAS
               ^
compositions.c:451:15: warning: unused variable 'D2' [-Wunused-variable]
    const int D2=D*D;   // size of a error matrix
              ^
compositions.c:457:16: warning: unused variable 'transA' [-Wunused-variable]
    const char transA='N';    // for BLAS
               ^
compositions.c:454:15: warning: unused variable 'ldN' [-Wunused-variable]
    const int ldN=*ldNp; //MaxFramesize of central matrix 
              ^
compositions.c:580:16: warning: unused variable 'uplo' [-Wunused-variable]
    const char uplo='U';     // for LAPACK
               ^
compositions.c:568:16: warning: unused variable 'transB' [-Wunused-variable]
    const char transB='T';    // for BLAS
               ^
compositions.c:567:16: warning: unused variable 'transA' [-Wunused-variable]
    const char transA='N';    // for BLAS
               ^
compositions.c:1068:10: warning: unused variable 'transA' [-Wunused-variable]
    char transA='N'; // parameter for dgelsd
         ^
compositions.c:1066:15: warning: unused variable 'DDn' [-Wunused-variable]
    const int DDn=D*D*n; // step in imputationCache to get second type of info
              ^
compositions.c:1248:10: warning: unused variable 'transA' [-Wunused-variable]
    char transA='N';    //  for dgemv
         ^
compositions.c:1511:8: warning: operator '?:' has lower precedence than '+'; '+' will be evaluated first [-Wparentheses]
                            ?imputationCache[DD*type+i+D*j]
                            ^
compositions.c:1511:8: note: place parentheses around the '+' expression to silence this warning
                            ?imputationCache[DD*type+i+D*j]
                            ^
compositions.c:1511:8: note: place parentheses around the '?:' expression to evaluate it first
                            ?imputationCache[DD*type+i+D*j]
                            ^
compositions.c:1434:10: warning: unused variable 'transAt' [-Wunused-variable]
    char transAt='T';   //  for dgemv
         ^
compositions.c:1433:10: warning: unused variable 'transA' [-Wunused-variable]
    char transA='N';    //  for dgemv
         ^
compositions.c:1757:13: warning: unused variable 'xv' [-Wunused-variable]
            double xv = MX(c,l);
                   ^
compositions.c:1735:16: warning: unused variable 'transA' [-Wunused-variable]
    const char transA='N';
               ^
compositions.c:1919:6: warning: unused variable 'idx' [-Wunused-variable]
        int idx=i+N*j;
            ^
compositions.c:1876:13: warning: unused variable 'dl' [-Wunused-variable]
    double *dl=(double *) R_alloc(N*D,sizeof(double));
            ^
compositions.c:1870:9: warning: unused variable 'p' [-Wunused-variable]
    int p=dimX[1];
        ^
compositions.c:1871:9: warning: unused variable 'NmissingTypes' [-Wunused-variable]
    int NmissingTypes=0;
        ^
compositions.c:1998:6: warning: unused variable 'idx' [-Wunused-variable]
        int idx=i+N*j;
            ^
compositions.c:1946:9: warning: unused variable 'NmissingTypes' [-Wunused-variable]
    int NmissingTypes=0;
        ^
compositions.c:1973:13: warning: unused variable 'imputationCache' [-Wunused-variable]
    double *imputationCache=(double *) R_alloc(D*D*nTypes*2,sizeof(double));
            ^
compositions.c:1951:13: warning: unused variable 'dl' [-Wunused-variable]
    double *dl=(double *) R_alloc(N*D,sizeof(double));
            ^
compositions.c:1945:9: warning: unused variable 'p' [-Wunused-variable]
    int p=dimX[1];
        ^
compositions.c:2083:13: warning: unused variable 'k' [-Wunused-variable]
    int i,j,k;
            ^
compositions.c:2372:12: warning: unused variable 'Pd' [-Wunused-variable]
    double Pd=sqrt(M_PI*sigmaQ);
           ^
compositions.c:2489:12: warning: unused variable 'tmp' [-Wunused-variable]
    double tmp;
           ^
compositions.c:2479:13: warning: unused variable 'k' [-Wunused-variable]
    int i,j,k,r;
            ^
compositions.c:2487:13: warning: unused variable 'tmpDoublePtr' [-Wunused-variable]
    double *tmpDoublePtr;
            ^
compositions.c:2486:9: warning: unused variable 'tmpInt' [-Wunused-variable]
    int tmpInt;
        ^
compositions.c:2485:10: warning: unused variable 'tmpIntPtr' [-Wunused-variable]
    int *tmpIntPtr;
         ^
compositions.c:2484:9: warning: unused variable 'D' [-Wunused-variable]
    int D=dimX[1];
        ^
37 warnings generated.
clang -arch arm64 -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 compositions.so compositions.o -L/Library/Frameworks/R.framework/Resources/lib -lRlapack -L/Library/Frameworks/R.framework/Resources/lib -lRblas -L/opt/gfortran/lib/gcc/aarch64-apple-darwin20.0/12.2.0 -L/opt/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 ___emutls_get_address: registers 23 and 24 not saved contiguously in frame
installing to /Volumes/Builds/packages/big-sur-arm64/results/4.3/compositions.Rcheck/00LOCK-compositions/00new/compositions/libs
** generating debug symbols (dSYM)
** R
** data
** demo
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** 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 (compositions)