* installing *source* package ‘mets’ ...
** package ‘mets’ 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 Fortran compiler: ‘GNU Fortran (GCC) 12.2.0’
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../inst/include -DNDEBUG -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/mvtnorm/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../inst/include -DNDEBUG -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/mvtnorm/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c aalenfrailty.cpp -o aalenfrailty.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I../inst/include -DNDEBUG -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/mvtnorm/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c apply.cpp -o apply.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I../inst/include -DNDEBUG -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/mvtnorm/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c binomial-twostage.cpp -o binomial-twostage.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I../inst/include -DNDEBUG -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/mvtnorm/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c biprobit.cpp -o biprobit.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I../inst/include -DNDEBUG -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/mvtnorm/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c claytonoakes.cpp -o claytonoakes.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I../inst/include -DNDEBUG -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/mvtnorm/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c clusterindex.cpp -o clusterindex.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I../inst/include -DNDEBUG -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/mvtnorm/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c cor.cpp -o cor.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I../inst/include -DNDEBUG -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/mvtnorm/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c fastcox.cpp -o fastcox.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I../inst/include -DNDEBUG -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/mvtnorm/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c init.c -o init.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I../inst/include -DNDEBUG -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/mvtnorm/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c mvn.cpp -o mvn.o
mvn.cpp:297:20: warning: unused variable 'logdetS' [-Wunused-variable]
  double logdetS0, logdetS, sign;
                   ^
mvn.cpp:297:29: warning: unused variable 'sign' [-Wunused-variable]
  double logdetS0, logdetS, sign;
                            ^
2 warnings generated.
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I../inst/include -DNDEBUG -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/mvtnorm/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c pch.cpp -o pch.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I../inst/include -DNDEBUG -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/mvtnorm/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c prop-odd.cpp -o prop-odd.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I../inst/include -DNDEBUG -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/mvtnorm/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c randomF77.c -o randomF77.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I../inst/include -DNDEBUG -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/mvtnorm/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c sim-tools.cpp -o sim-tools.o
sim-tools.cpp:60:14: warning: unused variable 'delta' [-Wunused-variable]
      double delta = curtime-time(cur);
             ^
sim-tools.cpp:64:12: warning: unused variable 'tau2' [-Wunused-variable]
    double tau2 = tn-input2(N-2,0);
           ^
sim-tools.cpp:195:6: warning: unused label 'arma' [-Wunused-label]
     arma:mat basei=dcum; 
     ^~~~~
sim-tools.cpp:241:5: warning: unused label 'arma' [-Wunused-label]
    arma:mat basei=St; 
    ^~~~~
4 warnings generated.
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I../inst/include -DNDEBUG -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/mvtnorm/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c survival-twostage.cpp -o survival-twostage.o
survival-twostage.cpp:2077:57: warning: variable 'sdj' set but not used [-Wunused-but-set-variable]
 double dl1,dl2,ll1,ll2,ll=1,Li,Lk,diff=0,loglikecont=0,sdj=0;
                                                        ^
survival-twostage.cpp:2762:21: warning: variable 'thetak' set but not used [-Wunused-but-set-variable]
 double llt=1,ssf=0,thetak=0; 
                    ^
2 warnings generated.
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I../inst/include -DNDEBUG -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/mvtnorm/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c tools.cpp -o tools.o
/opt/gfortran/bin/gfortran -arch arm64  -fPIC  -Wall -g -O2  -c tvpack.f -o tvpack.o
clang++ -arch arm64 -std=gnu++17 -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 mets.so RcppExports.o aalenfrailty.o apply.o binomial-twostage.o biprobit.o claytonoakes.o clusterindex.o cor.o fastcox.o init.o mvn.o pch.o prop-odd.o randomF77.o sim-tools.o survival-twostage.o tools.o tvpack.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 -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 _pntgnd_: registers 72 and 73 not saved contiguously in frame
ld: warning: could not create compact unwind for _tvtmfn_: register 75 saved somewhere other than in frame
ld: warning: could not create compact unwind for _adonet_: registers 72 and 73 not saved contiguously in frame
ld: warning: could not create compact unwind for _bvnd_: registers 78 and 79 not saved contiguously in frame
ld: warning: could not create compact unwind for _bvtl_: registers 78 and 79 not saved contiguously in frame
ld: warning: could not create compact unwind for _tvtl_: registers 74 and 75 not saved contiguously in frame
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/mets.Rcheck/00LOCK-mets/00new/mets/libs
** generating debug symbols (dSYM)
** R
** data
** demo
** 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 (mets)