* installing to library ‘/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages’
* installing *source* package ‘VarSelLCM’ ...
** this is package ‘VarSelLCM’ version ‘2.1.3.2’
** package ‘VarSelLCM’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘g++-15 (Debian 15.2.0-9) 15.2.0’
make[1]: Entering directory '/tmp/Rtmp40VBkz/R.INSTALL330ec07eac38d2/VarSelLCM/src'
g++-15 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -I../inst/include -DARMA_USE_CURRENT -fpic -g -O2 -Wall -pedantic -mtune=native -c Algorithm.cpp -o Algorithm.o
In file included from /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include/RcppCommon.h:75,
from /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:26,
from /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include/RcppArmadillo.h:32,
from ../inst/include/Algorithm.h:24,
from Algorithm.cpp:1:
/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include/R_ext/Callbacks.h:32:2: warning: ‘#warning’ before C++23 is a GCC extension [-Wc++23-extensions]
32 | #warning include R_ext/ObjectTable.h for R_ObjectTable declarations
| ^~~~~~~
/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include/R_ext/Callbacks.h:32:2: warning: #warning include R_ext/ObjectTable.h for R_ObjectTable declarations [-Wcpp]
Algorithm.cpp: In member function ‘void Algorithm::Run(Rcpp::S4*)’:
Algorithm.cpp:29:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare]
29 | for (int ini=0; ini<omegainit.n_cols; ini++){
| ~~~^~~~~~~~~~~~~~~~~
Algorithm.cpp: In member function ‘void Algorithm::Optimize_partition()’:
Algorithm.cpp:93:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare]
93 | for (int it=0; it < who.n_rows; it++){
| ~~~^~~~~~~~~~~~
g++-15 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -I../inst/include -DARMA_USE_CURRENT -fpic -g -O2 -Wall -pedantic -mtune=native -c AlgorithmCategorical.cpp -o AlgorithmCategorical.o
In file included from /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include/RcppCommon.h:75,
from /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:26,
from /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include/RcppArmadillo.h:32,
from ../inst/include/Data.h:13,
from ../inst/include/DataCategorical.h:16,
from ../inst/include/AlgorithmCategorical.h:12,
from AlgorithmCategorical.cpp:1:
/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include/R_ext/Callbacks.h:32:2: warning: ‘#warning’ before C++23 is a GCC extension [-Wc++23-extensions]
32 | #warning include R_ext/ObjectTable.h for R_ObjectTable declarations
| ^~~~~~~
/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include/R_ext/Callbacks.h:32:2: warning: #warning include R_ext/ObjectTable.h for R_ObjectTable declarations [-Wcpp]
AlgorithmCategorical.cpp: In member function ‘double AlgorithmCategorical::IntegreOneVariableCategoricalDiscrim(const int&)’:
AlgorithmCategorical.cpp:18:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare]
18 | for (int i=0; i<data_p->m_whotakewhat[j][h].n_rows; i++) nkjh(m_zCandCurrent(data_p->m_whotakewhat[j][h](i)), h)+=data_p->m_w(data_p->m_whotakewhat[j][h](i));
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
AlgorithmCategorical.cpp: In member function ‘double AlgorithmCategorical::IntegreOneVariableCategoricalDiscrim(const int&, const arma::colvec&)’:
AlgorithmCategorical.cpp:37:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare]
37 | for (int i=0; i<data_p->m_whotakewhat[j][h].n_rows; i++) nkjh(z(data_p->m_whotakewhat[j][h](i)), h)+=data_p->m_w(data_p->m_whotakewhat[j][h](i));
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
g++-15 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -I../inst/include -DARMA_USE_CURRENT -fpic -g -O2 -Wall -pedantic -mtune=native -c AlgorithmContinuous.cpp -o AlgorithmContinuous.o
In file included from /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include/RcppCommon.h:75,
from /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:26,
from /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include/RcppArmadillo.h:32,
from ../inst/include/Data.h:13,
from ../inst/include/DataContinuous.h:13,
from ../inst/include/AlgorithmContinuous.h:12,
from AlgorithmContinuous.cpp:1:
/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include/R_ext/Callbacks.h:32:2: warning: ‘#warning’ before C++23 is a GCC extension [-Wc++23-extensions]
32 | #warning include R_ext/ObjectTable.h for R_ObjectTable declarations
| ^~~~~~~
/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include/R_ext/Callbacks.h:32:2: warning: #warning include R_ext/ObjectTable.h for R_ObjectTable declarations [-Wcpp]
g++-15 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -I../inst/include -DARMA_USE_CURRENT -fpic -g -O2 -Wall -pedantic -mtune=native -c AlgorithmInteger.cpp -o AlgorithmInteger.o
In file included from /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include/RcppCommon.h:75,
from /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:26,
from /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include/RcppArmadillo.h:32,
from ../inst/include/Data.h:13,
from ../inst/include/DataInteger.h:13,
from ../inst/include/AlgorithmInteger.h:12,
from AlgorithmInteger.cpp:1:
/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include/R_ext/Callbacks.h:32:2: warning: ‘#warning’ before C++23 is a GCC extension [-Wc++23-extensions]
32 | #warning include R_ext/ObjectTable.h for R_ObjectTable declarations
| ^~~~~~~
/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include/R_ext/Callbacks.h:32:2: warning: #warning include R_ext/ObjectTable.h for R_ObjectTable declarations [-Wcpp]
AlgorithmInteger.cpp: In member function ‘double AlgorithmInteger::IntegreOneVariable(const arma::vec&, const int&)’:
AlgorithmInteger.cpp:24:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare]
24 | for (int i=0; i<v.n_rows; i++)
| ~^~~~~~~~~
g++-15 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -I../inst/include -DARMA_USE_CURRENT -fpic -g -O2 -Wall -pedantic -mtune=native -c AlgorithmMixed.cpp -o AlgorithmMixed.o
In file included from /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include/RcppCommon.h:75,
from /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:26,
from /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include/RcppArmadillo.h:32,
from ../inst/include/Data.h:13,
from ../inst/include/DataContinuous.h:13,
from ../inst/include/DataMixed.h:9,
from ../inst/include/AlgorithmMixed.h:12,
from AlgorithmMixed.cpp:1:
/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include/R_ext/Callbacks.h:32:2: warning: ‘#warning’ before C++23 is a GCC extension [-Wc++23-extensions]
32 | #warning include R_ext/ObjectTable.h for R_ObjectTable declarations
| ^~~~~~~
/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include/R_ext/Callbacks.h:32:2: warning: #warning include R_ext/ObjectTable.h for R_ObjectTable declarations [-Wcpp]
g++-15 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -I../inst/include -DARMA_USE_CURRENT -fpic -g -O2 -Wall -pedantic -mtune=native -c DataCategorical.cpp -o DataCategorical.o
In file included from /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include/RcppCommon.h:75,
from /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:26,
from /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include/RcppArmadillo.h:32,
from ../inst/include/Data.h:13,
from ../inst/include/DataCategorical.h:16,
from DataCategorical.cpp:1:
/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include/R_ext/Callbacks.h:32:2: warning: ‘#warning’ before C++23 is a GCC extension [-Wc++23-extensions]
32 | #warning include R_ext/ObjectTable.h for R_ObjectTable declarations
| ^~~~~~~
/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include/R_ext/Callbacks.h:32:2: warning: #warning include R_ext/ObjectTable.h for R_ObjectTable declarations [-Wcpp]
g++-15 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -I../inst/include -DARMA_USE_CURRENT -fpic -g -O2 -Wall -pedantic -mtune=native -c DataContinuous.cpp -o DataContinuous.o
In file included from /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include/RcppCommon.h:75,
from /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:26,
from /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include/RcppArmadillo.h:32,
from ../inst/include/Data.h:13,
from ../inst/include/DataContinuous.h:13,
from DataContinuous.cpp:1:
/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include/R_ext/Callbacks.h:32:2: warning: ‘#warning’ before C++23 is a GCC extension [-Wc++23-extensions]
32 | #warning include R_ext/ObjectTable.h for R_ObjectTable declarations
| ^~~~~~~
/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include/R_ext/Callbacks.h:32:2: warning: #warning include R_ext/ObjectTable.h for R_ObjectTable declarations [-Wcpp]
g++-15 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -I../inst/include -DARMA_USE_CURRENT -fpic -g -O2 -Wall -pedantic -mtune=native -c DataInteger.cpp -o DataInteger.o
In file included from /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include/RcppCommon.h:75,
from /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:26,
from /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include/RcppArmadillo.h:32,
from ../inst/include/Data.h:13,
from ../inst/include/DataInteger.h:13,
from DataInteger.cpp:1:
/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include/R_ext/Callbacks.h:32:2: warning: ‘#warning’ before C++23 is a GCC extension [-Wc++23-extensions]
32 | #warning include R_ext/ObjectTable.h for R_ObjectTable declarations
| ^~~~~~~
/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include/R_ext/Callbacks.h:32:2: warning: #warning include R_ext/ObjectTable.h for R_ObjectTable declarations [-Wcpp]
g++-15 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -I../inst/include -DARMA_USE_CURRENT -fpic -g -O2 -Wall -pedantic -mtune=native -c DataMixed.cpp -o DataMixed.o
In file included from /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include/RcppCommon.h:75,
from /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:26,
from /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include/RcppArmadillo.h:32,
from ../inst/include/Data.h:13,
from ../inst/include/DataContinuous.h:13,
from ../inst/include/DataMixed.h:9,
from DataMixed.cpp:1:
/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include/R_ext/Callbacks.h:32:2: warning: ‘#warning’ before C++23 is a GCC extension [-Wc++23-extensions]
32 | #warning include R_ext/ObjectTable.h for R_ObjectTable declarations
| ^~~~~~~
/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include/R_ext/Callbacks.h:32:2: warning: #warning include R_ext/ObjectTable.h for R_ObjectTable declarations [-Wcpp]
g++-15 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -I../inst/include -DARMA_USE_CURRENT -fpic -g -O2 -Wall -pedantic -mtune=native -c ParamCategorical.cpp -o ParamCategorical.o
In file included from /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include/RcppCommon.h:75,
from /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:26,
from /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include/RcppArmadillo.h:32,
from ../inst/include/Param.h:15,
from ../inst/include/ParamCategorical.h:12,
from ParamCategorical.cpp:1:
/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include/R_ext/Callbacks.h:32:2: warning: ‘#warning’ before C++23 is a GCC extension [-Wc++23-extensions]
32 | #warning include R_ext/ObjectTable.h for R_ObjectTable declarations
| ^~~~~~~
/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include/R_ext/Callbacks.h:32:2: warning: #warning include R_ext/ObjectTable.h for R_ObjectTable declarations [-Wcpp]
ParamCategorical.cpp: In member function ‘void ParamCategorical::egalise(arma::colvec)’:
ParamCategorical.cpp:26:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare]
26 | for (int j=0; j<omega.n_rows; j++){
| ~^~~~~~~~~~~~~
ParamCategorical.cpp:28:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare]
28 | for (int k=1; k<m_alpha[j].n_rows;k++){
| ~^~~~~~~~~~~~~~~~~~
g++-15 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -I../inst/include -DARMA_USE_CURRENT -fpic -g -O2 -Wall -pedantic -mtune=native -c ParamContinuous.cpp -o ParamContinuous.o
In file included from /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include/RcppCommon.h:75,
from /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:26,
from /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include/RcppArmadillo.h:32,
from ../inst/include/Data.h:13,
from ../inst/include/DataContinuous.h:13,
from ../inst/include/ParamContinuous.h:13,
from ParamContinuous.cpp:1:
/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include/R_ext/Callbacks.h:32:2: warning: ‘#warning’ before C++23 is a GCC extension [-Wc++23-extensions]
32 | #warning include R_ext/ObjectTable.h for R_ObjectTable declarations
| ^~~~~~~
/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include/R_ext/Callbacks.h:32:2: warning: #warning include R_ext/ObjectTable.h for R_ObjectTable declarations [-Wcpp]
ParamContinuous.cpp: In constructor ‘ParamContinuous::ParamContinuous(const DataContinuous*, const arma::colvec&, const int&)’:
ParamContinuous.cpp:20:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare]
20 | for (int j=0; j<m_mu.n_cols; j++){
| ~^~~~~~~~~~~~
ParamContinuous.cpp:29:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare]
29 | for (int j=0; j<m_mu.n_cols; j++){
| ~^~~~~~~~~~~~
ParamContinuous.cpp: In constructor ‘ParamContinuous::ParamContinuous(const DataContinuous*, const arma::colvec&, const int&, arma::ivec)’:
ParamContinuous.cpp:43:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare]
43 | for (int j=0; j<m_mu.n_cols; j++){
| ~^~~~~~~~~~~~
ParamContinuous.cpp:51:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare]
51 | for (int j=0; j<m_mu.n_cols; j++){
| ~^~~~~~~~~~~~
ParamContinuous.cpp: In member function ‘void ParamContinuous::egalise(arma::colvec)’:
ParamContinuous.cpp:61:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare]
61 | for (int j=0; j<m_mu.n_cols; j++){
| ~^~~~~~~~~~~~
ParamContinuous.cpp:63:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare]
63 | for (int k=1; k<m_mu.n_rows;k++){
| ~^~~~~~~~~~~~
g++-15 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -I../inst/include -DARMA_USE_CURRENT -fpic -g -O2 -Wall -pedantic -mtune=native -c ParamInteger.cpp -o ParamInteger.o
In file included from /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include/RcppCommon.h:75,
from /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:26,
from /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include/RcppArmadillo.h:32,
from ../inst/include/Data.h:13,
from ../inst/include/DataInteger.h:13,
from ../inst/include/ParamInteger.h:13,
from ParamInteger.cpp:1:
/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include/R_ext/Callbacks.h:32:2: warning: ‘#warning’ before C++23 is a GCC extension [-Wc++23-extensions]
32 | #warning include R_ext/ObjectTable.h for R_ObjectTable declarations
| ^~~~~~~
/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include/R_ext/Callbacks.h:32:2: warning: #warning include R_ext/ObjectTable.h for R_ObjectTable declarations [-Wcpp]
ParamInteger.cpp: In constructor ‘ParamInteger::ParamInteger(const DataInteger*, const arma::colvec&, const int&)’:
ParamInteger.cpp:18:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare]
18 | for (int j=0; j<m_lambda.n_cols; j++){
| ~^~~~~~~~~~~~~~~~
ParamInteger.cpp:25:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare]
25 | for (int j=0; j<m_lambda.n_cols; j++){
| ~^~~~~~~~~~~~~~~~
ParamInteger.cpp: In constructor ‘ParamInteger::ParamInteger(const DataInteger*, const arma::colvec&, const int&, arma::ivec)’:
ParamInteger.cpp:39:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare]
39 | for (int j=0; j<m_lambda.n_cols; j++){
| ~^~~~~~~~~~~~~~~~
ParamInteger.cpp:45:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare]
45 | for (int j=0; j<m_lambda.n_cols; j++){
| ~^~~~~~~~~~~~~~~~
ParamInteger.cpp: In member function ‘void ParamInteger::egalise(const DataInteger*, arma::colvec)’:
ParamInteger.cpp:54:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare]
54 | for (int j=0; j<m_lambda.n_cols; j++){
| ~^~~~~~~~~~~~~~~~
g++-15 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -I../inst/include -DARMA_USE_CURRENT -fpic -g -O2 -Wall -pedantic -mtune=native -c ParamMixed.cpp -o ParamMixed.o
In file included from /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include/RcppCommon.h:75,
from /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:26,
from /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include/RcppArmadillo.h:32,
from ../inst/include/Data.h:13,
from ../inst/include/DataContinuous.h:13,
from ../inst/include/DataMixed.h:9,
from ../inst/include/ParamMixed.h:12,
from ParamMixed.cpp:1:
/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include/R_ext/Callbacks.h:32:2: warning: ‘#warning’ before C++23 is a GCC extension [-Wc++23-extensions]
32 | #warning include R_ext/ObjectTable.h for R_ObjectTable declarations
| ^~~~~~~
/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include/R_ext/Callbacks.h:32:2: warning: #warning include R_ext/ObjectTable.h for R_ObjectTable declarations [-Wcpp]
g++-15 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -I../inst/include -DARMA_USE_CURRENT -fpic -g -O2 -Wall -pedantic -mtune=native -c RcppExports.cpp -o RcppExports.o
In file included from /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include/RcppCommon.h:75,
from /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:26,
from /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include/RcppArmadillo.h:32,
from RcppExports.cpp:4:
/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include/R_ext/Callbacks.h:32:2: warning: ‘#warning’ before C++23 is a GCC extension [-Wc++23-extensions]
32 | #warning include R_ext/ObjectTable.h for R_ObjectTable declarations
| ^~~~~~~
/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include/R_ext/Callbacks.h:32:2: warning: #warning include R_ext/ObjectTable.h for R_ObjectTable declarations [-Wcpp]
g++-15 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -I../inst/include -DARMA_USE_CURRENT -fpic -g -O2 -Wall -pedantic -mtune=native -c VarSelLCMmixte.cpp -o VarSelLCMmixte.o
In file included from /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include/RcppCommon.h:75,
from /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:26,
from /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include/RcppArmadillo.h:32,
from ../inst/include/Data.h:13,
from ../inst/include/DataContinuous.h:13,
from ../inst/include/DataMixed.h:9,
from ../inst/include/AlgorithmMixed.h:12,
from VarSelLCMmixte.cpp:1:
/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include/R_ext/Callbacks.h:32:2: warning: ‘#warning’ before C++23 is a GCC extension [-Wc++23-extensions]
32 | #warning include R_ext/ObjectTable.h for R_ObjectTable declarations
| ^~~~~~~
/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include/R_ext/Callbacks.h:32:2: warning: #warning include R_ext/ObjectTable.h for R_ObjectTable declarations [-Wcpp]
g++-15 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -I../inst/include -DARMA_USE_CURRENT -fpic -g -O2 -Wall -pedantic -mtune=native -c XEM.cpp -o XEM.o
In file included from /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include/RcppCommon.h:75,
from /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:26,
from /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include/RcppArmadillo.h:32,
from ../inst/include/Data.h:13,
from ../inst/include/DataContinuous.h:13,
from ../inst/include/XEM.h:24,
from XEM.cpp:1:
/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include/R_ext/Callbacks.h:32:2: warning: ‘#warning’ before C++23 is a GCC extension [-Wc++23-extensions]
32 | #warning include R_ext/ObjectTable.h for R_ObjectTable declarations
| ^~~~~~~
/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include/R_ext/Callbacks.h:32:2: warning: #warning include R_ext/ObjectTable.h for R_ObjectTable declarations [-Wcpp]
XEM.cpp: In member function ‘arma::colvec XEM::FindZMAP()’:
XEM.cpp:75:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare]
75 | for (int i=0; i<tmplogproba.n_rows; i++){
| ~^~~~~~~~~~~~~~~~~~~
g++-15 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -I../inst/include -DARMA_USE_CURRENT -fpic -g -O2 -Wall -pedantic -mtune=native -c XEMCategorical.cpp -o XEMCategorical.o
In file included from /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include/RcppCommon.h:75,
from /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:26,
from /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include/RcppArmadillo.h:32,
from ../inst/include/Data.h:13,
from ../inst/include/DataCategorical.h:16,
from ../inst/include/XEMCategorical.h:16,
from XEMCategorical.cpp:1:
/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include/R_ext/Callbacks.h:32:2: warning: ‘#warning’ before C++23 is a GCC extension [-Wc++23-extensions]
32 | #warning include R_ext/ObjectTable.h for R_ObjectTable declarations
| ^~~~~~~
/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include/R_ext/Callbacks.h:32:2: warning: #warning include R_ext/ObjectTable.h for R_ObjectTable declarations [-Wcpp]
g++-15 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -I../inst/include -DARMA_USE_CURRENT -fpic -g -O2 -Wall -pedantic -mtune=native -c XEMContinuous.cpp -o XEMContinuous.o
In file included from /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include/RcppCommon.h:75,
from /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:26,
from /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include/RcppArmadillo.h:32,
from ../inst/include/Data.h:13,
from ../inst/include/DataContinuous.h:13,
from ../inst/include/XEMContinuous.h:14,
from XEMContinuous.cpp:1:
/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include/R_ext/Callbacks.h:32:2: warning: ‘#warning’ before C++23 is a GCC extension [-Wc++23-extensions]
32 | #warning include R_ext/ObjectTable.h for R_ObjectTable declarations
| ^~~~~~~
/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include/R_ext/Callbacks.h:32:2: warning: #warning include R_ext/ObjectTable.h for R_ObjectTable declarations [-Wcpp]
g++-15 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -I../inst/include -DARMA_USE_CURRENT -fpic -g -O2 -Wall -pedantic -mtune=native -c XEMInteger.cpp -o XEMInteger.o
In file included from /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include/RcppCommon.h:75,
from /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:26,
from /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include/RcppArmadillo.h:32,
from ../inst/include/Data.h:13,
from ../inst/include/DataInteger.h:13,
from ../inst/include/XEMInteger.h:14,
from XEMInteger.cpp:1:
/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include/R_ext/Callbacks.h:32:2: warning: ‘#warning’ before C++23 is a GCC extension [-Wc++23-extensions]
32 | #warning include R_ext/ObjectTable.h for R_ObjectTable declarations
| ^~~~~~~
/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include/R_ext/Callbacks.h:32:2: warning: #warning include R_ext/ObjectTable.h for R_ObjectTable declarations [-Wcpp]
XEMInteger.cpp: In function ‘arma::Col<double> dlogPoisson(const arma::Col<double>&, const arma::Col<double>&, double)’:
XEMInteger.cpp:6:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare]
6 | for (int i=0; i<tmpval.n_rows;i++) tmpval(i) -= lgamma(x(i)+1);
| ~^~~~~~~~~~~~~~
g++-15 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -I../inst/include -DARMA_USE_CURRENT -fpic -g -O2 -Wall -pedantic -mtune=native -c XEMMixed.cpp -o XEMMixed.o
In file included from /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include/RcppCommon.h:75,
from /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:26,
from /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include/RcppArmadillo.h:32,
from ../inst/include/Data.h:13,
from ../inst/include/DataContinuous.h:13,
from ../inst/include/DataMixed.h:9,
from ../inst/include/XEMMixed.h:14,
from XEMMixed.cpp:1:
/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include/R_ext/Callbacks.h:32:2: warning: ‘#warning’ before C++23 is a GCC extension [-Wc++23-extensions]
32 | #warning include R_ext/ObjectTable.h for R_ObjectTable declarations
| ^~~~~~~
/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include/R_ext/Callbacks.h:32:2: warning: #warning include R_ext/ObjectTable.h for R_ObjectTable declarations [-Wcpp]
XEMMixed.cpp: In function ‘arma::Col<double> dlogPoissonbis(const arma::Col<double>&, const arma::Col<double>&, double)’:
XEMMixed.cpp:11:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare]
11 | for (int i=0; i<tmpval.n_rows;i++) tmpval(i) -= lgamma(x(i)+1);
| ~^~~~~~~~~~~~~~
g++-15 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -I../inst/include -DARMA_USE_CURRENT -fpic -g -O2 -Wall -pedantic -mtune=native -c XEMPen.cpp -o XEMPen.o
In file included from /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include/RcppCommon.h:75,
from /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:26,
from /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RcppArmadillo/include/RcppArmadillo.h:32,
from ../inst/include/Data.h:13,
from ../inst/include/DataContinuous.h:13,
from ../inst/include/DataMixed.h:9,
from ../inst/include/XEMPen.h:4,
from XEMPen.cpp:1:
/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include/R_ext/Callbacks.h:32:2: warning: ‘#warning’ before C++23 is a GCC extension [-Wc++23-extensions]
32 | #warning include R_ext/ObjectTable.h for R_ObjectTable declarations
| ^~~~~~~
/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include/R_ext/Callbacks.h:32:2: warning: #warning include R_ext/ObjectTable.h for R_ObjectTable declarations [-Wcpp]
XEMPen.cpp: In function ‘arma::Col<double> dlogPoissonter(const arma::Col<double>&, const arma::Col<double>&, double)’:
XEMPen.cpp:11:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare]
11 | for (int i=0; i<tmpval.n_rows;i++) tmpval(i) -= lgamma(x(i)+1);
| ~^~~~~~~~~~~~~~
XEMPen.cpp: In member function ‘void XEMPen::Run()’:
XEMPen.cpp:114:10: warning: variable ‘indicebest’ set but not used [-Wunused-but-set-variable]
114 | double indicebest;
| ^~~~~~~~~~
XEMPen.cpp: In member function ‘arma::colvec XEMPen::FindZMAP()’:
XEMPen.cpp:133:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const arma::uword’ {aka ‘const unsigned int’} [-Wsign-compare]
133 | for (int i=0; i<tmplogproba.n_rows; i++){
| ~^~~~~~~~~~~~~~~~~~~
XEMPen.cpp:132:10: warning: unused variable ‘max_val’ [-Wunused-variable]
132 | double max_val=0;
| ^~~~~~~
XEMPen.cpp: In member function ‘void XEMPen::OneEM()’:
XEMPen.cpp:178:10: warning: unused variable ‘repere’ [-Wunused-variable]
178 | int repere=0;
| ^~~~~~
g++-15 -std=gnu++17 -shared -L/home/hornik/tmp/R.check/r-devel-gcc/Work/build/lib -Wl,-O1 -o VarSelLCM.so Algorithm.o AlgorithmCategorical.o AlgorithmContinuous.o AlgorithmInteger.o AlgorithmMixed.o DataCategorical.o DataContinuous.o DataInteger.o DataMixed.o ParamCategorical.o ParamContinuous.o ParamInteger.o ParamMixed.o RcppExports.o VarSelLCMmixte.o XEM.o XEMCategorical.o XEMContinuous.o XEMInteger.o XEMMixed.o XEMPen.o -llapack -L/home/hornik/tmp/R.check/r-devel-gcc/Work/build/lib -lRblas -lgfortran -lm -lquadmath -L/home/hornik/tmp/R.check/r-devel-gcc/Work/build/lib -lR
make[1]: Leaving directory '/tmp/Rtmp40VBkz/R.INSTALL330ec07eac38d2/VarSelLCM/src'
make[1]: Entering directory '/tmp/Rtmp40VBkz/R.INSTALL330ec07eac38d2/VarSelLCM/src'
make[1]: Leaving directory '/tmp/Rtmp40VBkz/R.INSTALL330ec07eac38d2/VarSelLCM/src'
installing to /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/00LOCK-VarSelLCM/00new/VarSelLCM/libs
** R
** data
** inst
** byte-compile and prepare package for lazy loading
Creating a new generic function for ‘predict’ in package ‘VarSelLCM’
** 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 (VarSelLCM)