* installing *source* package ‘factorana’ ... ** this is package ‘factorana’ version ‘1.3.4’ ** package ‘factorana’ successfully unpacked and MD5 sums checked ** using staged installation ** libs using C++ compiler: ‘g++ (GCC) 15.2.1 20260123 (Red Hat 15.2.1-7)’ make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-devel/factorana/src' g++ -std=gnu++20 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -DEIGEN_PERMANENTLY_DISABLE_STUPID_WARNINGS -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppEigen/include' -I/usr/local/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c FactorModel.cpp -o FactorModel.o g++ -std=gnu++20 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -DEIGEN_PERMANENTLY_DISABLE_STUPID_WARNINGS -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppEigen/include' -I/usr/local/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Model.cpp -o Model.o g++ -std=gnu++20 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -DEIGEN_PERMANENTLY_DISABLE_STUPID_WARNINGS -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppEigen/include' -I/usr/local/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c RcppExports.cpp -o RcppExports.o FactorModel.cpp: In member function ‘void FactorModel::SetData(const std::vector&)’: FactorModel.cpp:173:20: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 173 | if (dat.size() != nobs * nvar) { | ~~~~~~~~~~~^~~~~~~~~~~~~~ FactorModel.cpp: In member function ‘void FactorModel::SetObservationWeights(const std::vector&)’: FactorModel.cpp:201:24: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 201 | if (weights.size() != nobs) { | ~~~~~~~~~~~~~~~^~~~~~~ FactorModel.cpp: In member function ‘void FactorModel::SetAdaptiveQuadrature(const std::vector >&, const std::vector >&, const std::vector&, double, int)’: FactorModel.cpp:217:30: warning: comparison of integer expressions of different signedness: ‘std::vector >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 217 | if (factor_scores.size() != nobs) { | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~ FactorModel.cpp:221:27: warning: comparison of integer expressions of different signedness: ‘std::vector >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 221 | if (factor_ses.size() != nobs) { | ~~~~~~~~~~~~~~~~~~^~~~~~~ FactorModel.cpp:225:28: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 225 | if (factor_vars.size() != nfac) { | ~~~~~~~~~~~~~~~~~~~^~~~~~~ FactorModel.cpp:245:40: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 245 | if (factor_scores[iobs].size() != nfac || factor_ses[iobs].size() != nfac) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ FactorModel.cpp:245:75: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 245 | if (factor_scores[iobs].size() != nfac || factor_ses[iobs].size() != nfac) { | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ FactorModel.cpp: In member function ‘void FactorModel::SetFactorMeanCovariates(const std::vector >&)’: FactorModel.cpp:354:31: warning: comparison of integer expressions of different signedness: ‘std::vector >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 354 | if (covariate_data.size() != nobs) { | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ FactorModel.cpp: In member function ‘void FactorModel::SetSECovariates(const std::vector >&)’: FactorModel.cpp:406:31: warning: comparison of integer expressions of different signedness: ‘std::vector >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 406 | if (covariate_data.size() != nobs) { | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ FactorModel.cpp: In member function ‘void FactorModel::SetParameterConstraints(const std::vector&)’: FactorModel.cpp:433:22: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 433 | if (fixed.size() != nparam) { | ~~~~~~~~~~~~~^~~~~~~~~ FactorModel.cpp: In member function ‘void FactorModel::SetParameterConstraints(const std::vector&, const std::vector&)’: FactorModel.cpp:479:22: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 479 | if (fixed.size() != nparam) { | ~~~~~~~~~~~~~^~~~~~~~~ FactorModel.cpp:482:29: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 482 | if (fixed_values.size() != nparam) { | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ FactorModel.cpp: In member function ‘void FactorModel::SetEqualityConstraints(const std::vector&)’: FactorModel.cpp:525:29: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 525 | if (equality_map.size() != nparam) { | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ FactorModel.cpp: In member function ‘void FactorModel::MapFreeToFull(const std::vector&)’: FactorModel.cpp:557:28: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 557 | if (free_params.size() != nparam_free) { | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ FactorModel.cpp: In member function ‘void FactorModel::CalcLkhd(const std::vector&, double&, std::vector&, std::vector&, int)’: FactorModel.cpp:701:9: warning: unused variable ‘n_integ_dims’ [-Wunused-variable] 701 | int n_integ_dims = nfac; // Default: one dimension per factor | ^~~~~~~~~~~~ FactorModel.cpp: In member function ‘void FactorModel::SetModelParameters(const std::vector&)’: FactorModel.cpp:3325:23: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 3325 | if (params.size() != nparam) { | ~~~~~~~~~~~~~~^~~~~~~~~ FactorModel.cpp: In member function ‘void FactorModel::CalcLkhdSingleObs(int, const std::vector&, const std::vector&, double&, std::vector&, std::vector&, int, bool)’: FactorModel.cpp:3345:30: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 3345 | if (factor_values.size() != nfac) { | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~ FactorModel.cpp:3348:29: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 3348 | if (model_params.size() != nparam) { | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ g++ -std=gnu++20 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -DEIGEN_PERMANENTLY_DISABLE_STUPID_WARNINGS -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppEigen/include' -I/usr/local/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c gauss_hermite.cpp -o gauss_hermite.o g++ -std=gnu++20 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -DEIGEN_PERMANENTLY_DISABLE_STUPID_WARNINGS -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppEigen/include' -I/usr/local/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c rcpp_interface.cpp -o rcpp_interface.o rcpp_interface.cpp: In function ‘SEXPREC* initialize_factor_model_cpp(Rcpp::List, SEXP, int, Rcpp::Nullable >)’: rcpp_interface.cpp:987:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 987 | for (int k = 0; k < covariate_names.size(); k++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~ rcpp_interface.cpp:1009:39: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1009 | for (int k = 0; k < covariate_names.size(); k++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~ rcpp_interface.cpp:1276:39: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1276 | for (int j = 0; j < free_loading_indices.size(); j++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rcpp_interface.cpp:1291:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1291 | for (int j = 0; j < free_loading_indices.size(); j++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rcpp_interface.cpp:1120:13: warning: variable ‘n_factors_for_mixture_eq’ set but not used [-Wunused-but-set-variable] 1120 | int n_factors_for_mixture_eq = n_fac; | ^~~~~~~~~~~~~~~~~~~~~~~~ rcpp_interface.cpp:666:9: warning: variable ‘n_factors_for_mixture’ set but not used [-Wunused-but-set-variable] 666 | int n_factors_for_mixture = n_fac; // Default: all factors have mixture | ^~~~~~~~~~~~~~~~~~~~~ g++ -std=gnu++20 -shared -L/usr/local/lib64 -o factorana.so FactorModel.o Model.o RcppExports.o gauss_hermite.o rcpp_interface.o -fopenmp make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-devel/factorana/src' make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-devel/factorana/src' make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-devel/factorana/src' installing to /data/gannet/ripley/R/packages/tests-devel/factorana.Rcheck/00LOCK-factorana/00new/factorana/libs ** R ** 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 (factorana)