* 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 x86_64 -std=gnu++17 accepts -g... yes checking for clang++ -arch x86_64 -std=gnu++17 option to enable C++11 features... none needed checking how to run the C++ preprocessor... clang++ -arch x86_64 -std=gnu++17 -E checking for gcc... clang -arch x86_64 checking whether the compiler supports GNU C... yes checking whether clang -arch x86_64 accepts -g... yes checking for clang -arch x86_64 option to enable C11 features... none needed checking how to run the C preprocessor... clang -arch x86_64 -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.3 (clang-1403.0.22.14.1)’ using SDK: ‘MacOSX11.3.sdk’ clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I ../inst/include -DR_BUILD -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c RcppExports.cpp -o RcppExports.o clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I ../inst/include -DR_BUILD -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c api.cpp -o api.o clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I ../inst/include -DR_BUILD -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c normalize.cpp -o normalize.o clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I ../inst/include -DR_BUILD -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c utilities.cpp -o utilities.o In file included from RcppExports.cpp:4: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/RcppEigen.h:25: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/RcppEigenForward.h:29: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Sparse:26: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/SparseCore:61: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/SparseCore/TriangularSolver.h:273:13: warning: variable 'count' set but not used [-Wunused-but-set-variable] Index count = 0; ^ In file included from RcppExports.cpp:4: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/RcppEigen.h:25: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/RcppEigenForward.h:29: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Sparse:29: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/SparseLU:35: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:78:9: warning: variable 'nsuper_et_post' set but not used [-Wunused-but-set-variable] Index nsuper_et_post = 0; // Number of relaxed snodes in postordered etree ^ /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:79:9: warning: variable 'nsuper_et' set but not used [-Wunused-but-set-variable] Index nsuper_et = 0; // Number of relaxed snodes in the original etree ^ In file included from RcppExports.cpp:4: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/RcppEigen.h:25: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/RcppEigenForward.h:31: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/unsupported/Eigen/IterativeSolvers:46: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/unsupported/Eigen/src/IterativeSolvers/IDRS.h:72:10: warning: variable 'replacements' set but not used [-Wunused-but-set-variable] Index replacements = 0; ^ In file included from utilities.cpp:11: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/RcppEigen.h:25: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/RcppEigenForward.h:29: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Sparse:26: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/SparseCore:61: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/SparseCore/TriangularSolver.h:273:13: warning: variable 'count' set but not used [-Wunused-but-set-variable] Index count = 0; ^ In file included from utilities.cpp:11: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/RcppEigen.h:25: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/RcppEigenForward.h:29: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Sparse:29: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/SparseLU:35: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:78:9: warning: variable 'nsuper_et_post' set but not used [-Wunused-but-set-variable] Index nsuper_et_post = 0; // Number of relaxed snodes in postordered etree ^ /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:79:9: warning: variable 'nsuper_et' set but not used [-Wunused-but-set-variable] Index nsuper_et = 0; // Number of relaxed snodes in the original etree ^ In file included from utilities.cpp:11: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/RcppEigen.h:25: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/RcppEigenForward.h:31: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/unsupported/Eigen/IterativeSolvers:46: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/unsupported/Eigen/src/IterativeSolvers/IDRS.h:72:10: warning: variable 'replacements' set but not used [-Wunused-but-set-variable] Index replacements = 0; ^ In file included from RcppExports.cpp:4: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/RcppEigen.h:25: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/RcppEigenForward.h:37: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/unsupported/Eigen/SparseExtra:45: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/unsupported/Eigen/src/SparseExtra/MarketIO.h:246:7: warning: variable 'count' set but not used [-Wunused-but-set-variable] int count = 0; ^ In file included from utilities.cpp:11: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/RcppEigen.h:25: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/RcppEigenForward.h:37: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/unsupported/Eigen/SparseExtra:45: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/unsupported/Eigen/src/SparseExtra/MarketIO.h:246:7: warning: variable 'count' set but not used [-Wunused-but-set-variable] int count = 0; ^ In file included from normalize.cpp:7: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/RcppEigen.h:25: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/RcppEigenForward.h:29: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Sparse:26: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/SparseCore:61: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/SparseCore/TriangularSolver.h:273:13: warning: variable 'count' set but not used [-Wunused-but-set-variable] Index count = 0; ^ In file included from normalize.cpp:7: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/RcppEigen.h:25: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/RcppEigenForward.h:29: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Sparse:29: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/SparseLU:35: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:78:9: warning: variable 'nsuper_et_post' set but not used [-Wunused-but-set-variable] Index nsuper_et_post = 0; // Number of relaxed snodes in postordered etree ^ /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:79:9: warning: variable 'nsuper_et' set but not used [-Wunused-but-set-variable] Index nsuper_et = 0; // Number of relaxed snodes in the original etree ^ In file included from normalize.cpp:7: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/RcppEigen.h:25: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/RcppEigenForward.h:31: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/unsupported/Eigen/IterativeSolvers:46: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/unsupported/Eigen/src/IterativeSolvers/IDRS.h:72:10: warning: variable 'replacements' set but not used [-Wunused-but-set-variable] Index replacements = 0; ^ In file included from api.cpp:5: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/RcppEigen.h:25: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/RcppEigenForward.h:29: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Sparse:26: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/SparseCore:61: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/SparseCore/TriangularSolver.h:273:13: warning: variable 'count' set but not used [-Wunused-but-set-variable] Index count = 0; ^ In file included from api.cpp:5: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/RcppEigen.h:25: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/RcppEigenForward.h:29: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Sparse:29: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/SparseLU:35: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:78:9: warning: variable 'nsuper_et_post' set but not used [-Wunused-but-set-variable] Index nsuper_et_post = 0; // Number of relaxed snodes in postordered etree ^ /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:79:9: warning: variable 'nsuper_et' set but not used [-Wunused-but-set-variable] Index nsuper_et = 0; // Number of relaxed snodes in the original etree ^ In file included from api.cpp:5: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/RcppEigen.h:25: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/RcppEigenForward.h:31: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/unsupported/Eigen/IterativeSolvers:46: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/unsupported/Eigen/src/IterativeSolvers/IDRS.h:72:10: warning: variable 'replacements' set but not used [-Wunused-but-set-variable] Index replacements = 0; ^ In file included from normalize.cpp:7: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/RcppEigen.h:25: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/RcppEigenForward.h:37: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/unsupported/Eigen/SparseExtra:45: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/unsupported/Eigen/src/SparseExtra/MarketIO.h:246:7: warning: variable 'count' set but not used [-Wunused-but-set-variable] int count = 0; ^ In file included from api.cpp:5: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/RcppEigen.h:25: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/RcppEigenForward.h:37: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/unsupported/Eigen/SparseExtra:45: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/unsupported/Eigen/src/SparseExtra/MarketIO.h:246:7: warning: variable 'count' set but not used [-Wunused-but-set-variable] int count = 0; ^ 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:88:13: warning: unused variable 'p' [-Wunused-variable] int p = X.cols(); ^ ./AlgorithmGLM.h:89:13: warning: unused variable 'M' [-Wunused-variable] int M = y.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:179:13: warning: unused variable 'p' [-Wunused-variable] int p = X.cols(); ^ ./AlgorithmGLM.h:180:13: warning: unused variable 'M' [-Wunused-variable] int M = y.cols(); ^ ./AlgorithmGLM.h:238:13: warning: unused variable 'n' [-Wunused-variable] int n = X.rows(); ^ ./AlgorithmGLM.h:239: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:987: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(); ^ 5 warnings generated. 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: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; ^ api.cpp:264:41: warning: unused variable 'nlambda' [-Wunused-variable] int lambda_min = 0, lambda_max = 0, nlambda = 100; ^ 5 warnings generated. 5 warnings generated. 28 warnings generated. clang++ -arch x86_64 -std=gnu++17 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -L/Library/Frameworks/R.framework/Resources/lib -L/opt/R/x86_64/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-x86_64/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)