* installing *source* package ‘abess’ ...
** package ‘abess’ successfully unpacked and MD5 sums checked
** using staged installation
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C++... yes
checking whether clang++ -arch arm64 -std=gnu++17 accepts -g... yes
checking for clang++ -arch arm64 -std=gnu++17 option to enable C++11 features... none needed
checking how to run the C++ preprocessor... clang++ -arch arm64 -std=gnu++17 -E
checking for gcc... clang -arch arm64
checking whether the compiler supports GNU C... yes
checking whether clang -arch arm64 accepts -g... yes
checking for clang -arch arm64 option to enable C11 features... none needed
checking how to run the C preprocessor... clang -arch arm64 -E
*****************************************************************************************
Spectra library exists. 
*****************************************************************************************
*****************************************************************************************
Complier code exists in src/ directory. Install R package according to the complier code.
*****************************************************************************************
checking whether OpenMP will work in a package... no
*****************************************************************************************
         OpenMP is unavailable on this Mac OSX system. Training speed may be suboptimal.
         To use all CPU cores for training jobs, you should install OpenMP by running

             brew install libomp
*****************************************************************************************
configure: creating ./config.status
config.status: creating src/Makevars
** 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 ../inst/include -DR_BUILD -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppEigen/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 -DR_BUILD -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppEigen/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c api.cpp -o api.o
In file included from api.cpp:20:
./Algorithm.h:247:18: warning: unused variable 'success' [-Wunused-variable]
            bool success = this->primary_model_fit(train_x, train_y, train_weight, this->beta, this->coef0, DBL_MAX,
                 ^
./Algorithm.h:281:14: warning: unused variable 'success' [-Wunused-variable]
        bool success =
             ^
./Algorithm.h:528:18: warning: unused variable 'success' [-Wunused-variable]
            bool success = this->primary_model_fit(X_A_exchage, y, weights, beta_A_exchange, coef0_A_exchange,
                 ^
./Algorithm.h:606:14: warning: unused variable 'success' [-Wunused-variable]
        bool success =
             ^
In file included from api.cpp:21:
./AlgorithmGLM.h:87:13: warning: unused variable 'n' [-Wunused-variable]
        int n = X.rows();
            ^
./AlgorithmGLM.h:89:13: warning: unused variable 'M' [-Wunused-variable]
        int M = y.cols();
            ^
./AlgorithmGLM.h:88:13: warning: unused variable 'p' [-Wunused-variable]
        int p = X.cols();
            ^
./AlgorithmGLM.h:104:13: warning: unused variable 'n' [-Wunused-variable]
        int n = X.rows();
            ^
./AlgorithmGLM.h:178:13: warning: unused variable 'n' [-Wunused-variable]
        int n = X.rows();
            ^
./AlgorithmGLM.h:180:13: warning: unused variable 'M' [-Wunused-variable]
        int M = y.cols();
            ^
./AlgorithmGLM.h:179:13: warning: unused variable 'p' [-Wunused-variable]
        int p = X.cols();
            ^
./AlgorithmGLM.h:240:13: warning: unused variable 'M' [-Wunused-variable]
        int M = y.cols();
            ^
./AlgorithmGLM.h:239:13: warning: unused variable 'p' [-Wunused-variable]
        int p = X.cols();
            ^
./AlgorithmGLM.h:238:13: warning: unused variable 'n' [-Wunused-variable]
        int n = X.rows();
            ^
./AlgorithmGLM.h:989:13: warning: unused variable 'M' [-Wunused-variable]
        int M = y.cols();
            ^
./AlgorithmGLM.h:987:13: warning: unused variable 'n' [-Wunused-variable]
        int n = x.rows();
            ^
In file included from api.cpp:24:
./workflow.h:237:12: warning: unused variable 'best_support_size' [-Wunused-variable]
    double best_support_size = parameters.sequence(min_loss_index).support_size;
           ^
./workflow.h:242:38: warning: variable 'best_test_loss' set but not used [-Wunused-but-set-variable]
    double best_train_loss, best_ic, best_test_loss;
                                     ^
In file included from api.cpp:21:
./AlgorithmGLM.h:1607:10: warning: 'abessOrdinal<Eigen::Matrix<double, -1, -1, 0>>::gradient' hides overloaded virtual function [-Woverloaded-virtual]
    bool gradient(T4 &X, Eigen::MatrixXd &y, Eigen::VectorXd &weights, Eigen::MatrixXd &beta, Eigen::VectorXd &coef0,
         ^
api.cpp:114:59: note: in instantiation of template class 'abessOrdinal<Eigen::Matrix<double, -1, -1, 0>>' requested here
                abessOrdinal<Eigen::MatrixXd> *temp = new abessOrdinal<Eigen::MatrixXd>(
                                                          ^
./AlgorithmGLM.h:57:29: note: hidden overloaded virtual function '_abessGLM<Eigen::Matrix<double, -1, -1, 0>, Eigen::Matrix<double, -1, -1, 0>, Eigen::Matrix<double, -1, 1, 0>, Eigen::Matrix<double, -1, -1, 0>>::gradient' declared here: different number of parameters (4 vs 6)
    virtual Eigen::MatrixXd gradient(T4 &X_full, T1 &y, Eigen::VectorXd &weights, T2 &beta_full) {
                            ^
./AlgorithmGLM.h:1607:10: warning: 'abessOrdinal<Eigen::SparseMatrix<double, 0>>::gradient' hides overloaded virtual function [-Woverloaded-virtual]
    bool gradient(T4 &X, Eigen::MatrixXd &y, Eigen::VectorXd &weights, Eigen::MatrixXd &beta, Eigen::VectorXd &coef0,
         ^
api.cpp:171:71: note: in instantiation of template class 'abessOrdinal<Eigen::SparseMatrix<double, 0>>' requested here
                abessOrdinal<Eigen::SparseMatrix<double>> *temp = new abessOrdinal<Eigen::SparseMatrix<double>>(
                                                                      ^
./AlgorithmGLM.h:57:29: note: hidden overloaded virtual function '_abessGLM<Eigen::Matrix<double, -1, -1, 0>, Eigen::Matrix<double, -1, -1, 0>, Eigen::Matrix<double, -1, 1, 0>, Eigen::SparseMatrix<double, 0>>::gradient' declared here: different number of parameters (4 vs 6)
    virtual Eigen::MatrixXd gradient(T4 &X_full, T1 &y, Eigen::VectorXd &weights, T2 &beta_full) {
                            ^
api.cpp:264:41: warning: unused variable 'nlambda' [-Wunused-variable]
    int lambda_min = 0, lambda_max = 0, nlambda = 100;
                                        ^
api.cpp:264:9: warning: unused variable 'lambda_min' [-Wunused-variable]
    int lambda_min = 0, lambda_max = 0, nlambda = 100;
        ^
api.cpp:264:25: warning: unused variable 'lambda_max' [-Wunused-variable]
    int lambda_min = 0, lambda_max = 0, nlambda = 100;
                        ^
23 warnings generated.
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I ../inst/include -DR_BUILD -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppEigen/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c normalize.cpp -o normalize.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I ../inst/include -DR_BUILD -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppEigen/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c utilities.cpp -o utilities.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 abess.so RcppExports.o api.o normalize.o utilities.o -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation
installing to /Volumes/Builds/packages/big-sur-arm64/results/4.3/abess.Rcheck/00LOCK-abess/00new/abess/libs
** generating debug symbols (dSYM)
** R
** data
*** moving datasets to lazyload DB
** 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 (abess)