* installing *source* package 'MAINT.Data' ... ** package 'MAINT.Data' successfully unpacked and MD5 sums checked ** using staged installation ** libs using C++ compiler: 'g++.exe (GCC) 13.3.0' make[1]: Entering directory '/d/temp/2024_11_19_01_50_00_21579/Rtmp6dWAvp/R.INSTALL160d4568c42c4/MAINT.Data/src' g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c AdMatAlgFoo.cpp -o AdMatAlgFoo.o AdMatAlgFoo.cpp: In function 'bool pdsolve(const arma::mat&, arma::mat&, double*)': AdMatAlgFoo.cpp:13:19: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const unsigned int'} [-Wsign-compare] 13 | for (int i=1;i<M.n_rows;i++) { | ~^~~~~~~~~ AdMatAlgFoo.cpp: In function 'void SetZero(arma::vec&, int, bool)': AdMatAlgFoo.cpp:31:27: warning: comparison of integer expressions of different signedness: 'const arma::uword' {aka 'const unsigned int'} and 'const int' [-Wsign-compare] 31 | if (cheksize && v.n_elem!=n) v.zeros(n); | ~~~~~~~~^~~ AdMatAlgFoo.cpp: In function 'void SetZero(arma::mat&, int, int, bool)': AdMatAlgFoo.cpp:38:29: warning: comparison of integer expressions of different signedness: 'const arma::uword' {aka 'const unsigned int'} and 'const int' [-Wsign-compare] 38 | if ( cheksize && (M.n_rows!=m || M.n_cols!=n) ) M.zeros(m,n); | ~~~~~~~~^~~ AdMatAlgFoo.cpp:38:44: warning: comparison of integer expressions of different signedness: 'const arma::uword' {aka 'const unsigned int'} and 'const int' [-Wsign-compare] 38 | if ( cheksize && (M.n_rows!=m || M.n_cols!=n) ) M.zeros(m,n); | ~~~~~~~~^~~ AdMatAlgFoo.cpp: In function 'bool chcksing(const arma::mat&, double&, double&, double&, double&, double, double, bool)': AdMatAlgFoo.cpp:55:18: warning: comparison of integer expressions of different signedness: 'const arma::uword' {aka 'const unsigned int'} and 'int' [-Wsign-compare] 55 | if (M1.n_rows!=p|| M1.n_cols!=p) M1.set_size(p,p); | ~~~~~~~~~^~~ AdMatAlgFoo.cpp:55:33: warning: comparison of integer expressions of different signedness: 'const arma::uword' {aka 'const unsigned int'} and 'int' [-Wsign-compare] 55 | if (M1.n_rows!=p|| M1.n_cols!=p) M1.set_size(p,p); | ~~~~~~~~~^~~ AdMatAlgFoo.cpp:56:24: warning: comparison of integer expressions of different signedness: 'const arma::uword' {aka 'const unsigned int'} and 'int' [-Wsign-compare] 56 | if (diagsrqt.n_elem!=p) diagsrqt.set_size(p); | ~~~~~~~~~~~~~~~^~~ AdMatAlgFoo.cpp: In function 'bool safepdsolve(const arma::mat&, arma::mat&, double&, double&, double&, double&, double, double, bool)': AdMatAlgFoo.cpp:111:18: warning: comparison of integer expressions of different signedness: 'const arma::uword' {aka 'const unsigned int'} and 'int' [-Wsign-compare] 111 | if (M1.n_rows!=p || M1.n_cols!=p) M1.set_size(p,p); | ~~~~~~~~~^~~ AdMatAlgFoo.cpp:111:34: warning: comparison of integer expressions of different signedness: 'const arma::uword' {aka 'const unsigned int'} and 'int' [-Wsign-compare] 111 | if (M1.n_rows!=p || M1.n_cols!=p) M1.set_size(p,p); | ~~~~~~~~~^~~ AdMatAlgFoo.cpp:112:20: warning: comparison of integer expressions of different signedness: 'const arma::uword' {aka 'const unsigned int'} and 'int' [-Wsign-compare] 112 | if (Mscl.n_rows!=p || Mscl.n_cols!=p) Mscl.set_size(p,p); | ~~~~~~~~~~~^~~ AdMatAlgFoo.cpp:112:38: warning: comparison of integer expressions of different signedness: 'const arma::uword' {aka 'const unsigned int'} and 'int' [-Wsign-compare] 112 | if (Mscl.n_rows!=p || Mscl.n_cols!=p) Mscl.set_size(p,p); | ~~~~~~~~~~~^~~ AdMatAlgFoo.cpp:113:24: warning: comparison of integer expressions of different signedness: 'const arma::uword' {aka 'const unsigned int'} and 'int' [-Wsign-compare] 113 | if (diagsrqt.n_elem!=p) diagsrqt.set_size(p); | ~~~~~~~~~~~~~~~^~~ AdMatAlgFoo.cpp: In function 'bool safepdsolve(const arma::mat&, const arma::mat&, arma::mat&, double&, double&, double&, double&, double, double, bool)': AdMatAlgFoo.cpp:145:18: warning: comparison of integer expressions of different signedness: 'const arma::uword' {aka 'const unsigned int'} and 'int' [-Wsign-compare] 145 | if (M1.n_rows!=p|| M1.n_cols!=p) M1.set_size(p,p); | ~~~~~~~~~^~~ AdMatAlgFoo.cpp:145:33: warning: comparison of integer expressions of different signedness: 'const arma::uword' {aka 'const unsigned int'} and 'int' [-Wsign-compare] 145 | if (M1.n_rows!=p|| M1.n_cols!=p) M1.set_size(p,p); | ~~~~~~~~~^~~ AdMatAlgFoo.cpp:146:24: warning: comparison of integer expressions of different signedness: 'const arma::uword' {aka 'const unsigned int'} and 'int' [-Wsign-compare] 146 | if (diagsrqt.n_elem!=p) diagsrqt.set_size(p); | ~~~~~~~~~~~~~~~^~~ AdMatAlgFoo.cpp:147:20: warning: comparison of integer expressions of different signedness: 'const arma::uword' {aka 'const unsigned int'} and 'int' [-Wsign-compare] 147 | if (rhs1.n_rows!=p || rhs1.n_cols!=q) rhs1.set_size(p,q); | ~~~~~~~~~~~^~~ AdMatAlgFoo.cpp:147:38: warning: comparison of integer expressions of different signedness: 'const arma::uword' {aka 'const unsigned int'} and 'int' [-Wsign-compare] 147 | if (rhs1.n_rows!=p || rhs1.n_cols!=q) rhs1.set_size(p,q); | ~~~~~~~~~~~^~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c AuxFoo.cpp -o AuxFoo.o AuxFoo.cpp: In function 'arma::mat RestCov(int, Rcpp::Vector<14, Rcpp::PreserveStorage>::iterator, int, bool, bool)': AuxFoo.cpp:82:37: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'const int' [-Wsign-compare] 82 | if (A.size()!=q) { | ~~~~~~~~^~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c CEMGauss.cpp -o CEMGauss.o CEMGauss.cpp: In function 'SEXPREC* CEMGauss(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP)': CEMGauss.cpp:74:21: warning: comparison of integer expressions of different signedness: 'std::vector<double>::size_type' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 74 | if (tmpvct.size()!=n) tmpvct.resize(n); | ~~~~~~~~~~~~~^~~ CEMGauss.cpp:93:19: warning: variable 'zpin' set but not used [-Wunused-but-set-variable] 93 | NumericMatrix *zpin=&z0,*zpout=&z1; | ^~~~ CEMGauss.cpp: In function 'bool FillParm(const arma::mat&, const Rcpp::NumericMatrix&, int, bool, double, double, int, int, int, std::vector<double>&, arma::mat&, arma::mat&, Rcpp::NumericVector&, Rcpp::NumericMatrix&, arma::mat&, arma::cube&)': CEMGauss.cpp:307:21: warning: comparison of integer expressions of different signedness: 'std::vector<double>::size_type' {aka 'long long unsigned int'} and 'const int' [-Wsign-compare] 307 | if (minVar.size()!=p) minVar.resize(p); | ~~~~~~~~~~~~~^~~ CEMGauss.cpp:308:21: warning: comparison of integer expressions of different signedness: 'std::vector<double>::size_type' {aka 'long long unsigned int'} and 'const int' [-Wsign-compare] 308 | if (maxVar.size()!=p) maxVar.resize(p); | ~~~~~~~~~~~~~^~~ CEMGauss.cpp: In function 'SEXPREC* CEMGauss(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP)': CEMGauss.cpp:259:17: warning: 'Sigmapar' may be used uninitialized [-Wmaybe-uninitialized] 259 | else npar = (p+Sigmapar)*k + k-1; | ~~^~~~~~~~~~ CEMGauss.cpp:253:12: note: 'Sigmapar' was declared here 253 | int npar,Sigmapar; | ^~~~~~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c MDataGaussLogLik.cpp -o MDataGaussLogLik.o MDataGaussLogLik.cpp: In function 'void MDataGaussLogLik(int, int, int, const arma::mat&, const arma::vec&, arma::mat*, arma::mat*, double*, std::vector<double>&, bool&, double, bool)': MDataGaussLogLik.cpp:22:19: warning: comparison of integer expressions of different signedness: 'const arma::uword' {aka 'const unsigned int'} and 'const int' [-Wsign-compare] 22 | if (dev.n_rows!=p || dev.n_cols!=n) dev.set_size(p,n); | ~~~~~~~~~~^~~ MDataGaussLogLik.cpp:22:36: warning: comparison of integer expressions of different signedness: 'const arma::uword' {aka 'const unsigned int'} and 'const int' [-Wsign-compare] 22 | if (dev.n_rows!=p || dev.n_cols!=n) dev.set_size(p,n); | ~~~~~~~~~~^~~ MDataGaussLogLik.cpp:23:19: warning: comparison of integer expressions of different signedness: 'const arma::uword' {aka 'const unsigned int'} and 'const int' [-Wsign-compare] 23 | if (tmp.n_rows!=p || tmp.n_cols!=n) tmp.set_size(p,n); | ~~~~~~~~~~^~~ MDataGaussLogLik.cpp:23:36: warning: comparison of integer expressions of different signedness: 'const arma::uword' {aka 'const unsigned int'} and 'const int' [-Wsign-compare] 23 | if (tmp.n_rows!=p || tmp.n_cols!=n) tmp.set_size(p,n); | ~~~~~~~~~~^~~ MDataGaussLogLik.cpp:128:19: warning: comparison of integer expressions of different signedness: 'const arma::uword' {aka 'const unsigned int'} and 'int' [-Wsign-compare] 128 | if (dev.n_rows!=q || dev.n_cols!=n) dev.set_size(q,n); | ~~~~~~~~~~^~~ MDataGaussLogLik.cpp:128:36: warning: comparison of integer expressions of different signedness: 'const arma::uword' {aka 'const unsigned int'} and 'const int' [-Wsign-compare] 128 | if (dev.n_rows!=q || dev.n_cols!=n) dev.set_size(q,n); | ~~~~~~~~~~^~~ MDataGaussLogLik.cpp:129:19: warning: comparison of integer expressions of different signedness: 'const arma::uword' {aka 'const unsigned int'} and 'int' [-Wsign-compare] 129 | if (tmp.n_rows!=q || tmp.n_cols!=n) tmp.set_size(q,n); | ~~~~~~~~~~^~~ MDataGaussLogLik.cpp:129:36: warning: comparison of integer expressions of different signedness: 'const arma::uword' {aka 'const unsigned int'} and 'const int' [-Wsign-compare] 129 | if (tmp.n_rows!=q || tmp.n_cols!=n) tmp.set_size(q,n); | ~~~~~~~~~~^~~ MDataGaussLogLik.cpp:185:28: warning: unused variable 'lnk2' [-Wunused-variable] 185 | double detj,lndetj,dev,lnk2; | ^~~~ MDataGaussLogLik.cpp:96:85: warning: 'det' may be used uninitialized [-Wmaybe-uninitialized] 96 | if (Sigmap) res[obs] -= ( lndet + (a*dev2*dev2 + b*dev1*dev1 -2*c*dev1*dev2)/det ) / 2; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ MDataGaussLogLik.cpp:49:18: note: 'det' was declared here 49 | double a,b,c,det,lndet,abscorr,lnk2,dev1,dev2; | ^~~ MDataGaussLogLik.cpp:96:41: warning: 'lndet' may be used uninitialized [-Wmaybe-uninitialized] 96 | if (Sigmap) res[obs] -= ( lndet + (a*dev2*dev2 + b*dev1*dev1 -2*c*dev1*dev2)/det ) / 2; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ MDataGaussLogLik.cpp:49:22: note: 'lndet' was declared here 49 | double a,b,c,det,lndet,abscorr,lnk2,dev1,dev2; | ^~~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c MinMaxEgval.cpp -o MinMaxEgval.o MinMaxEgval.cpp: In function 'bool MinMaxEgval(const arma::mat&, int, double&, double&, double&, double&, double&, double, double, double)': MinMaxEgval.cpp:49:12: warning: variable 'corr' set but not used [-Wunused-but-set-variable] 49 | double corr,corr2,Rdet,Rtr,bind; | ^~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c RestCovGrad.cpp -o RestCovGrad.o g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c fasttle.cpp -o fasttle.o fasttle.cpp: In function 'void highstobsllik(const Rcpp::NumericMatrix&, int, int, int, double, int, const std::vector<int, std::allocator<int> >&, std::vector<int, std::allocator<int> >&, Estimate&, double, std::vector<double>&)': fasttle.cpp:180:18: warning: comparison of integer expressions of different signedness: 'const arma::uword' {aka 'const unsigned int'} and 'const int' [-Wsign-compare] 180 | if (Xdev.n_rows!=n || Xdev.n_cols!=p) Xdev.set_size(n,p); | ~~~~~~~~~~~^~~ fasttle.cpp:180:36: warning: comparison of integer expressions of different signedness: 'const arma::uword' {aka 'const unsigned int'} and 'const int' [-Wsign-compare] 180 | if (Xdev.n_rows!=n || Xdev.n_cols!=p) Xdev.set_size(n,p); | ~~~~~~~~~~~^~~ fasttle.cpp: In function 'void parcovll(const arma::mat&, const std::vector<int, std::allocator<int> >&, arma::mat&, double, double, std::vector<double>&)': fasttle.cpp:233:20: warning: comparison of integer expressions of different signedness: 'const arma::uword' {aka 'const unsigned int'} and 'int' [-Wsign-compare] 233 | if (SigmaI.n_rows!=p || SigmaI.n_cols!=p) SigmaI.set_size(p,p); | ~~~~~~~~~~~~~^~~ fasttle.cpp:233:40: warning: comparison of integer expressions of different signedness: 'const arma::uword' {aka 'const unsigned int'} and 'int' [-Wsign-compare] 233 | if (SigmaI.n_rows!=p || SigmaI.n_cols!=p) SigmaI.set_size(p,p); | ~~~~~~~~~~~~~^~~ fasttle.cpp: In function 'void parcovll4(const arma::mat&, const std::vector<int, std::allocator<int> >&, arma::mat&, double, double, std::vector<double>&)': fasttle.cpp:292:20: warning: comparison of integer expressions of different signedness: 'const arma::uword' {aka 'const unsigned int'} and 'int' [-Wsign-compare] 292 | if (pSigma.n_rows!=q || pSigma.n_cols!=q) pSigma.set_size(q,q); | ~~~~~~~~~~~~~^~~ fasttle.cpp:292:40: warning: comparison of integer expressions of different signedness: 'const arma::uword' {aka 'const unsigned int'} and 'int' [-Wsign-compare] 292 | if (pSigma.n_rows!=q || pSigma.n_cols!=q) pSigma.set_size(q,q); | ~~~~~~~~~~~~~^~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c fulltle.cpp -o fulltle.o fulltle.cpp: In function 'SEXPREC* Cfulltle(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP)': fulltle.cpp:28:30: warning: comparison of integer expressions of different signedness: '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type' {aka 'int'} and 'unsigned int' [-Wsign-compare] 28 | else if (tmpSet[j-1]<n-(k-(j-1))) cont=FALSE; fulltle.cpp:33:14: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 33 | if (j-1<k-1) for (int j1=j;j1<k;j1++) | ~~~^~~~ fulltle.cpp: In function 'double loglik(const Rcpp::NumericMatrix&, int, int, int, double, double, int, const std::vector<int, std::allocator<int> >&, Estimate&)': fulltle.cpp:56:18: warning: comparison of integer expressions of different signedness: 'const arma::uword' {aka 'const unsigned int'} and 'const int' [-Wsign-compare] 56 | if (Xdev.n_rows!=n || Xdev.n_cols!=p) Xdev.set_size(n,p); | ~~~~~~~~~~~^~~ fulltle.cpp:56:36: warning: comparison of integer expressions of different signedness: 'const arma::uword' {aka 'const unsigned int'} and 'const int' [-Wsign-compare] 56 | if (Xdev.n_rows!=n || Xdev.n_cols!=p) Xdev.set_size(n,p); | ~~~~~~~~~~~^~~ fulltle.cpp: In function 'double parcovloglik4(const arma::mat&, const std::vector<int, std::allocator<int> >&, arma::mat&, double, double)': fulltle.cpp:130:20: warning: comparison of integer expressions of different signedness: 'const arma::uword' {aka 'const unsigned int'} and 'int' [-Wsign-compare] 130 | if (pSigma.n_rows!=q || pSigma.n_cols!=q) pSigma.set_size(q,q); | ~~~~~~~~~~~~~^~~ fulltle.cpp:130:40: warning: comparison of integer expressions of different signedness: 'const arma::uword' {aka 'const unsigned int'} and 'int' [-Wsign-compare] 130 | if (pSigma.n_rows!=q || pSigma.n_cols!=q) pSigma.set_size(q,q); | ~~~~~~~~~~~~~^~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c msnCP_Aux.cpp -o msnCP_Aux.o g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c msnCP_dev.cpp -o msnCP_dev.o msnCP_dev.cpp: In function 'void cnvCPtoDP(int, Rcpp::NumericVector, const arma::mat&, Rcpp::NumericVector, arma::vec&, arma::mat&, arma::vec&, arma::mat&, arma::vec&, double*, bool*, double*, double, double, double, bool)': msnCP_dev.cpp:31:19: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'const int' [-Wsign-compare] 31 | if (tmp.size()!=p) tmp.set_size(p); | ~~~~~~~~~~^~~ msnCP_dev.cpp:32:17: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'const int' [-Wsign-compare] 32 | if (c.size()!=p) c.set_size(p); | ~~~~~~~~^~~ msnCP_dev.cpp:33:19: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'const int' [-Wsign-compare] 33 | if (muz.size()!=p) muz.set_size(p); | ~~~~~~~~~~^~~ msnCP_dev.cpp:34:21: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'const int' [-Wsign-compare] 34 | if (omega.size()!=p) omega.set_size(p); | ~~~~~~~~~~~~^~~ msnCP_dev.cpp:35:19: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'const int' [-Wsign-compare] 35 | if (mu0.size()!=p) mu0.set_size(p); | ~~~~~~~~~~^~~ msnCP_dev.cpp:36:22: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'const int' [-Wsign-compare] 36 | if (sigmaz.size()!=p) sigmaz.set_size(p); | ~~~~~~~~~~~~~^~~ msnCP_dev.cpp:37:22: warning: comparison of integer expressions of different signedness: 'const arma::uword' {aka 'const unsigned int'} and 'const int' [-Wsign-compare] 37 | if (mu0OtP.n_rows!=p || mu0OtP.n_cols!=p) mu0OtP.set_size(p,p); | ~~~~~~~~~~~~~^~~ msnCP_dev.cpp:37:42: warning: comparison of integer expressions of different signedness: 'const arma::uword' {aka 'const unsigned int'} and 'const int' [-Wsign-compare] 37 | if (mu0OtP.n_rows!=p || mu0OtP.n_cols!=p) mu0OtP.set_size(p,p); | ~~~~~~~~~~~~~^~~ msnCP_dev.cpp: In function 'double msnCP_dev1(Rcpp::NumericVector&, const Rcpp::NumericMatrix&, const Rcpp::IntegerVector&, int, int, int, int, double, bool, double, double, double, double, bool, double, bool, bool)': msnCP_dev.cpp:94:16: warning: comparison of integer expressions of different signedness: 'const arma::uword' {aka 'const unsigned int'} and 'const int' [-Wsign-compare] 94 | if (y0.n_rows!=n || y0.n_cols!=p) y0.set_size(n,p); | ~~~~~~~~~^~~ msnCP_dev.cpp:94:32: warning: comparison of integer expressions of different signedness: 'const arma::uword' {aka 'const unsigned int'} and 'const int' [-Wsign-compare] 94 | if (y0.n_rows!=n || y0.n_cols!=p) y0.set_size(n,p); | ~~~~~~~~~^~~ msnCP_dev.cpp:96:21: warning: comparison of integer expressions of different signedness: 'const arma::uword' {aka 'const unsigned int'} and 'const int' [-Wsign-compare] 96 | if (Sigma.n_rows!=p || Sigma.n_cols!=p) Sigma.set_size(p,p); | ~~~~~~~~~~~~^~~ msnCP_dev.cpp:96:40: warning: comparison of integer expressions of different signedness: 'const arma::uword' {aka 'const unsigned int'} and 'const int' [-Wsign-compare] 96 | if (Sigma.n_rows!=p || Sigma.n_cols!=p) Sigma.set_size(p,p); | ~~~~~~~~~~~~^~~ msnCP_dev.cpp:97:24: warning: comparison of integer expressions of different signedness: 'const arma::uword' {aka 'const unsigned int'} and 'const int' [-Wsign-compare] 97 | if (OmegaInv.n_rows!=p || OmegaInv.n_cols!=p) OmegaInv.set_size(p,p); | ~~~~~~~~~~~~~~~^~~ msnCP_dev.cpp:97:46: warning: comparison of integer expressions of different signedness: 'const arma::uword' {aka 'const unsigned int'} and 'const int' [-Wsign-compare] 97 | if (OmegaInv.n_rows!=p || OmegaInv.n_cols!=p) OmegaInv.set_size(p,p); | ~~~~~~~~~~~~~~~^~~ msnCP_dev.cpp:98:21: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'const int' [-Wsign-compare] 98 | if (omega.size()!=p) omega.set_size(p); | ~~~~~~~~~~~~^~~ msnCP_dev.cpp:99:27: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'const int' [-Wsign-compare] 99 | if (alphoveromg.size()!=p) alphoveromg.set_size(p); | ~~~~~~~~~~~~~~~~~~^~~ msnCP_dev.cpp:100:19: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'const int' [-Wsign-compare] 100 | if (y0i.size()!=p) y0i.set_size(p); | ~~~~~~~~~~^~~ msnCP_dev.cpp:101:22: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'const int' [-Wsign-compare] 101 | if (DPksi1.size()!=p) DPksi1.set_size(p); | ~~~~~~~~~~~~~^~~ msnCP_dev.cpp:102:23: warning: comparison of integer expressions of different signedness: 'const arma::uword' {aka 'const unsigned int'} and 'const int' [-Wsign-compare] 102 | if (DPOmega.n_rows!=p || DPOmega.n_cols!=p) DPOmega.set_size(p,p); | ~~~~~~~~~~~~~~^~~ msnCP_dev.cpp:102:44: warning: comparison of integer expressions of different signedness: 'const arma::uword' {aka 'const unsigned int'} and 'const int' [-Wsign-compare] 102 | if (DPOmega.n_rows!=p || DPOmega.n_cols!=p) DPOmega.set_size(p,p); | ~~~~~~~~~~~~~~^~~ msnCP_dev.cpp:103:23: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'const int' [-Wsign-compare] 103 | if (DPalpha.size()!=p) DPalpha.set_size(p); | ~~~~~~~~~~~~~~^~~ msnCP_dev.cpp:104:26: warning: comparison of integer expressions of different signedness: 'const arma::uword' {aka 'const unsigned int'} and 'const int' [-Wsign-compare] 104 | if (DPOmegabar.n_rows!=p || DPOmegabar.n_cols!=p) DPOmegabar.set_size(p,p); | ~~~~~~~~~~~~~~~~~^~~ msnCP_dev.cpp:104:50: warning: comparison of integer expressions of different signedness: 'const arma::uword' {aka 'const unsigned int'} and 'const int' [-Wsign-compare] 104 | if (DPOmegabar.n_rows!=p || DPOmegabar.n_cols!=p) DPOmegabar.set_size(p,p); | ~~~~~~~~~~~~~~~~~^~~ msnCP_dev.cpp:105:23: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'const int' [-Wsign-compare] 105 | if (DPdelta.size()!=p) DPdelta.set_size(p); | ~~~~~~~~~~~~~~^~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c msnCP_dev_RIntf.cpp -o msnCP_dev_RIntf.o g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c msnCP_dev_grad.cpp -o msnCP_dev_grad.o msnCP_dev_grad.cpp: In function 'void msnCP_ll_grad(const Rcpp::NumericVector&, const Rcpp::NumericMatrix&, const arma::mat&, const Rcpp::NumericVector&, const Rcpp::NumericMatrix&, const Rcpp::IntegerVector&, int, int, int, int, double, bool, double, double, double, double, arma::vec&, double, bool)': msnCP_dev_grad.cpp:39:37: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 39 | for (int r=0,i1=0,i2=0;r<p;r++) for (int c=0;c<p;c++,i1++) | ^~~ msnCP_dev_grad.cpp:42:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 42 | dvecinddim = p2; | ^~~~~~~~~~ msnCP_dev_grad.cpp:45:16: warning: comparison of integer expressions of different signedness: 'const arma::uword' {aka 'const unsigned int'} and 'const int' [-Wsign-compare] 45 | if (y0.n_rows!=n || y0.n_cols!=p) y0.set_size(n,p); | ~~~~~~~~~^~~ msnCP_dev_grad.cpp:45:32: warning: comparison of integer expressions of different signedness: 'const arma::uword' {aka 'const unsigned int'} and 'const int' [-Wsign-compare] 45 | if (y0.n_rows!=n || y0.n_cols!=p) y0.set_size(n,p); | ~~~~~~~~~^~~ msnCP_dev_grad.cpp:50:23: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'const int' [-Wsign-compare] 50 | if (Omegagrad.size()!=nvcovpar) Omegagrad.set_size(nvcovpar); | ~~~~~~~~~~~~~~~~^~~~~~~~~~ msnCP_dev_grad.cpp:51:27: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'const int' [-Wsign-compare] 51 | if (OmegaInvgrad1.size()!=nvcovpar) OmegaInvgrad1.set_size(nvcovpar); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ msnCP_dev_grad.cpp:52:27: warning: comparison of integer expressions of different signedness: 'const arma::uword' {aka 'const unsigned int'} and 'const int' [-Wsign-compare] 52 | if (OmegaInvgrad2.n_rows!=nvcovpar || OmegaInvgrad2.n_cols!=nvcovpar) OmegaInvgrad2.set_size(nvcovpar,nvcovpar); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ msnCP_dev_grad.cpp:52:61: warning: comparison of integer expressions of different signedness: 'const arma::uword' {aka 'const unsigned int'} and 'const int' [-Wsign-compare] 52 | if (OmegaInvgrad2.n_rows!=nvcovpar || OmegaInvgrad2.n_cols!=nvcovpar) OmegaInvgrad2.set_size(nvcovpar,nvcovpar); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ msnCP_dev_grad.cpp:53:23: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'const int' [-Wsign-compare] 53 | if (Sigmagrad.size()!=nvcovpar) Sigmagrad.set_size(nvcovpar); | ~~~~~~~~~~~~~~~~^~~~~~~~~~ msnCP_dev_grad.cpp:54:19: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'const int' [-Wsign-compare] 54 | if (y0sum.size()!=p) y0sum.set_size(p); | ~~~~~~~~~~~~^~~ msnCP_dev_grad.cpp:59:21: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'const int' [-Wsign-compare] 59 | if (sigma.size()!=p) sigma.set_size(p); | ~~~~~~~~~~~~^~~ msnCP_dev_grad.cpp:60:19: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'const int' [-Wsign-compare] 60 | if (mu0.size()!=p) mu0.set_size(p); | ~~~~~~~~~~^~~ msnCP_dev_grad.cpp:61:22: warning: comparison of integer expressions of different signedness: 'const arma::uword' {aka 'const unsigned int'} and 'const int' [-Wsign-compare] 61 | if (SigmaI.n_rows!=p || SigmaI.n_cols!=p) SigmaI.set_size(p,p); | ~~~~~~~~~~~~~^~~ msnCP_dev_grad.cpp:61:42: warning: comparison of integer expressions of different signedness: 'const arma::uword' {aka 'const unsigned int'} and 'const int' [-Wsign-compare] 61 | if (SigmaI.n_rows!=p || SigmaI.n_cols!=p) SigmaI.set_size(p,p); | ~~~~~~~~~~~~~^~~ msnCP_dev_grad.cpp:62:25: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'const int' [-Wsign-compare] 62 | if (SigmaImu0.size()!=p) SigmaImu0.set_size(p); | ~~~~~~~~~~~~~~~~^~~ msnCP_dev_grad.cpp:63:22: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'const int' [-Wsign-compare] 63 | if (mu0bar.size()!=p) mu0bar.set_size(p); | ~~~~~~~~~~~~~^~~ msnCP_dev_grad.cpp:64:22: warning: comparison of integer expressions of different signedness: 'const arma::uword' {aka 'const unsigned int'} and 'const int' [-Wsign-compare] 64 | if (Dtld33.n_rows!=p || Dtld33.n_cols!=p) Dtld33.set_size(p,p); | ~~~~~~~~~~~~~^~~ msnCP_dev_grad.cpp:64:42: warning: comparison of integer expressions of different signedness: 'const arma::uword' {aka 'const unsigned int'} and 'const int' [-Wsign-compare] 64 | if (Dtld33.n_rows!=p || Dtld33.n_cols!=p) Dtld33.set_size(p,p); | ~~~~~~~~~~~~~^~~ msnCP_dev_grad.cpp:65:20: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'const int' [-Wsign-compare] 65 | if (ksi1.size()!=p) ksi1.set_size(p); | ~~~~~~~~~~~^~~ msnCP_dev_grad.cpp:66:21: warning: comparison of integer expressions of different signedness: 'const arma::uword' {aka 'const unsigned int'} and 'const int' [-Wsign-compare] 66 | if (Omega.n_rows!=p || Omega.n_cols!=p) Omega.set_size(p,p); | ~~~~~~~~~~~~^~~ msnCP_dev_grad.cpp:66:40: warning: comparison of integer expressions of different signedness: 'const arma::uword' {aka 'const unsigned int'} and 'const int' [-Wsign-compare] 66 | if (Omega.n_rows!=p || Omega.n_cols!=p) Omega.set_size(p,p); | ~~~~~~~~~~~~^~~ msnCP_dev_grad.cpp:67:24: warning: comparison of integer expressions of different signedness: 'const arma::uword' {aka 'const unsigned int'} and 'const int' [-Wsign-compare] 67 | if (OmegaInv.n_rows!=p || OmegaInv.n_cols!=p) OmegaInv.set_size(p,p); | ~~~~~~~~~~~~~~~^~~ msnCP_dev_grad.cpp:67:46: warning: comparison of integer expressions of different signedness: 'const arma::uword' {aka 'const unsigned int'} and 'const int' [-Wsign-compare] 67 | if (OmegaInv.n_rows!=p || OmegaInv.n_cols!=p) OmegaInv.set_size(p,p); | ~~~~~~~~~~~~~~~^~~ msnCP_dev_grad.cpp:68:22: warning: comparison of integer expressions of different signedness: 'const arma::uword' {aka 'const unsigned int'} and 'const int' [-Wsign-compare] 68 | if (mu0OtP.n_rows!=p || mu0OtP.n_cols!=p) mu0OtP.set_size(p,p); | ~~~~~~~~~~~~~^~~ msnCP_dev_grad.cpp:68:42: warning: comparison of integer expressions of different signedness: 'const arma::uword' {aka 'const unsigned int'} and 'const int' [-Wsign-compare] 68 | if (mu0OtP.n_rows!=p || mu0OtP.n_cols!=p) mu0OtP.set_size(p,p); | ~~~~~~~~~~~~~^~~ msnCP_dev_grad.cpp:69:21: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'const int' [-Wsign-compare] 69 | if (omega.size()!=p) omega.set_size(p); | ~~~~~~~~~~~~^~~ msnCP_dev_grad.cpp:70:22: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'const int' [-Wsign-compare] 70 | if (bomega.size()!=p) bomega.set_size(p); | ~~~~~~~~~~~~~^~~ msnCP_dev_grad.cpp:71:21: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'const int' [-Wsign-compare] 71 | if (delta.size()!=p) delta.set_size(p); | ~~~~~~~~~~~~^~~ msnCP_dev_grad.cpp:72:26: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'const int' [-Wsign-compare] 72 | if (OmgbIdelta.size()!=p) OmgbIdelta.set_size(p); | ~~~~~~~~~~~~~~~~~^~~ msnCP_dev_grad.cpp:73:23: warning: comparison of integer expressions of different signedness: 'const arma::uword' {aka 'const unsigned int'} and 'const int' [-Wsign-compare] 73 | if (sclMatI.n_rows!=p || sclMatI.n_cols!=p) sclMatI.set_size(p,p); | ~~~~~~~~~~~~~~^~~ msnCP_dev_grad.cpp:73:44: warning: comparison of integer expressions of different signedness: 'const arma::uword' {aka 'const unsigned int'} and 'const int' [-Wsign-compare] 73 | if (sclMatI.n_rows!=p || sclMatI.n_cols!=p) sclMatI.set_size(p,p); | ~~~~~~~~~~~~~~^~~ msnCP_dev_grad.cpp:74:21: warning: comparison of integer expressions of different signedness: 'const arma::uword' {aka 'const unsigned int'} and 'const int' [-Wsign-compare] 74 | if (OmgbI.n_rows!=p || OmgbI.n_cols!=p) OmgbI.set_size(p,p); | ~~~~~~~~~~~~^~~ msnCP_dev_grad.cpp:74:40: warning: comparison of integer expressions of different signedness: 'const arma::uword' {aka 'const unsigned int'} and 'const int' [-Wsign-compare] 74 | if (OmgbI.n_rows!=p || OmgbI.n_cols!=p) OmgbI.set_size(p,p); | ~~~~~~~~~~~~^~~ msnCP_dev_grad.cpp:75:20: warning: comparison of integer expressions of different signedness: 'const arma::uword' {aka 'const unsigned int'} and 'const int' [-Wsign-compare] 75 | if (tmpM.n_rows!=p || tmpM.n_cols!=p) tmpM.set_size(p,p); | ~~~~~~~~~~~^~~ msnCP_dev_grad.cpp:75:38: warning: comparison of integer expressions of different signedness: 'const arma::uword' {aka 'const unsigned int'} and 'const int' [-Wsign-compare] 75 | if (tmpM.n_rows!=p || tmpM.n_cols!=p) tmpM.set_size(p,p); | ~~~~~~~~~~~^~~ msnCP_dev_grad.cpp:76:21: warning: comparison of integer expressions of different signedness: 'const arma::uword' {aka 'const unsigned int'} and 'const int' [-Wsign-compare] 76 | if (tmpM2.n_rows!=p || tmpM2.n_cols!=p) tmpM2.set_size(p,p); | ~~~~~~~~~~~~^~~ msnCP_dev_grad.cpp:76:40: warning: comparison of integer expressions of different signedness: 'const arma::uword' {aka 'const unsigned int'} and 'const int' [-Wsign-compare] 76 | if (tmpM2.n_rows!=p || tmpM2.n_cols!=p) tmpM2.set_size(p,p); | ~~~~~~~~~~~~^~~ msnCP_dev_grad.cpp:77:20: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'const int' [-Wsign-compare] 77 | if (tmpv.size()!=p) tmpv.set_size(p); | ~~~~~~~~~~~^~~ msnCP_dev_grad.cpp:78:19: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'const int' [-Wsign-compare] 78 | if (eta.size()!=p) eta.set_size(p); | ~~~~~~~~~~^~~ msnCP_dev_grad.cpp:79:19: warning: comparison of integer expressions of different signedness: 'const arma::uword' {aka 'const unsigned int'} and 'const int' [-Wsign-compare] 79 | if (D33.n_rows!=p || D33.n_cols!=p) D33.set_size(p,p); | ~~~~~~~~~~^~~ msnCP_dev_grad.cpp:79:36: warning: comparison of integer expressions of different signedness: 'const arma::uword' {aka 'const unsigned int'} and 'const int' [-Wsign-compare] 79 | if (D33.n_rows!=p || D33.n_cols!=p) D33.set_size(p,p); | ~~~~~~~~~~^~~ msnCP_dev_grad.cpp:80:24: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'const int' [-Wsign-compare] 80 | if (ksi1grad.size()!=p) ksi1grad.set_size(p); | ~~~~~~~~~~~~~~~^~~ msnCP_dev_grad.cpp:81:23: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'const int' [-Wsign-compare] 81 | if (etagrad.size()!=p) etagrad.set_size(p); | ~~~~~~~~~~~~~~^~~ msnCP_dev_grad.cpp:82:26: warning: comparison of integer expressions of different signedness: 'const arma::uword' {aka 'const unsigned int'} and 'int' [-Wsign-compare] 82 | if (beta2kgrad.n_rows!=k-1 || beta2kgrad.n_cols!=p) beta2kgrad.set_size(k-1,p); | ~~~~~~~~~~~~~~~~~^~~~~ msnCP_dev_grad.cpp:82:52: warning: comparison of integer expressions of different signedness: 'const arma::uword' {aka 'const unsigned int'} and 'const int' [-Wsign-compare] 82 | if (beta2kgrad.n_rows!=k-1 || beta2kgrad.n_cols!=p) beta2kgrad.set_size(k-1,p); | ~~~~~~~~~~~~~~~~~^~~ msnCP_dev_grad.cpp:83:27: warning: comparison of integer expressions of different signedness: 'const arma::uword' {aka 'const unsigned int'} and 'const int' [-Wsign-compare] 83 | if (nOmgminusS0.n_rows!=p || nOmgminusS0.n_cols!=p) nOmgminusS0.set_size(p,p); | ~~~~~~~~~~~~~~~~~~^~~ msnCP_dev_grad.cpp:83:52: warning: comparison of integer expressions of different signedness: 'const arma::uword' {aka 'const unsigned int'} and 'const int' [-Wsign-compare] 83 | if (nOmgminusS0.n_rows!=p || nOmgminusS0.n_cols!=p) nOmgminusS0.set_size(p,p); | ~~~~~~~~~~~~~~~~~~^~~ msnCP_dev_grad.cpp:84:19: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'const int' [-Wsign-compare] 84 | if (y0i.size()!=p) y0i.set_size(p); | ~~~~~~~~~~^~~ msnCP_dev_grad.cpp:85:24: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'const int' [-Wsign-compare] 85 | if (sumz1eta.size()!=p) sumz1eta.set_size(p); | ~~~~~~~~~~~~~~~^~~ msnCP_dev_grad.cpp:86:26: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'const int' [-Wsign-compare] 86 | if (gamma1grad.size()!=p) gamma1grad.set_size(p); | ~~~~~~~~~~~~~~~~~^~~ msnCP_dev_grad.cpp:87:21: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'const int' [-Wsign-compare] 87 | if (z1eta.size()!=p) z1eta.set_size(p); | ~~~~~~~~~~~~^~~ msnCP_dev_grad.cpp:178:21: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'const int' [-Wsign-compare] 178 | if (vtmpM.size()!=nvcovpar) vtmpM.set_size(nvcovpar); | ~~~~~~~~~~~~^~~~~~~~~~ msnCP_dev_grad.cpp:179:22: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'const int' [-Wsign-compare] 179 | if (vdOmgb.size()!=nvcovpar) vdOmgb.set_size(nvcovpar); | ~~~~~~~~~~~~~^~~~~~~~~~ msnCP_dev_grad.cpp:180:44: warning: comparison of integer expressions of different signedness: 'const arma::uword' {aka 'const unsigned int'} and 'const int' [-Wsign-compare] 180 | if (tmpextv.n_rows!=1 || tmpextv.n_cols!=nvcovpar) tmpextv.set_size(1,nvcovpar); | ~~~~~~~~~~~~~~^~~~~~~~~~ msnCP_dev_grad.cpp:182:25: warning: comparison of integer expressions of different signedness: 'const arma::uword' {aka 'const unsigned int'} and 'const int' [-Wsign-compare] 182 | if (dOmgdgam1.n_rows!=nvcovpar || dOmgdgam1.n_cols!=p) dOmgdgam1.set_size(nvcovpar,p); | ~~~~~~~~~~~~~~~~^~~~~~~~~~ msnCP_dev_grad.cpp:182:55: warning: comparison of integer expressions of different signedness: 'const arma::uword' {aka 'const unsigned int'} and 'const int' [-Wsign-compare] 182 | if (dOmgdgam1.n_rows!=nvcovpar || dOmgdgam1.n_cols!=p) dOmgdgam1.set_size(nvcovpar,p); | ~~~~~~~~~~~~~~~~^~~ msnCP_dev_grad.cpp:184:22: warning: comparison of integer expressions of different signedness: 'const arma::uword' {aka 'const unsigned int'} and 'const int' [-Wsign-compare] 184 | if (Omgb.n_rows!=p || Omgb.n_cols!=p) Omgb.set_size(p,p); | ~~~~~~~~~~~^~~ msnCP_dev_grad.cpp:184:40: warning: comparison of integer expressions of different signedness: 'const arma::uword' {aka 'const unsigned int'} and 'const int' [-Wsign-compare] 184 | if (Omgb.n_rows!=p || Omgb.n_cols!=p) Omgb.set_size(p,p); | ~~~~~~~~~~~^~~ msnCP_dev_grad.cpp:185:25: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'const int' [-Wsign-compare] 185 | if (dAomgm1.size()!=p) dAomgm1.set_size(p); | ~~~~~~~~~~~~~~^~~ msnCP_dev_grad.cpp:186:25: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'const int' [-Wsign-compare] 186 | if (Adomgm1.size()!=p) Adomgm1.set_size(p); | ~~~~~~~~~~~~~~^~~ msnCP_dev_grad.cpp:187:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'const int' [-Wsign-compare] 187 | if (gamma1grp1.size()!=p) gamma1grp1.set_size(p); | ~~~~~~~~~~~~~~~~~^~~ msnCP_dev_grad.cpp:188:28: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'const int' [-Wsign-compare] 188 | if (gamma1grp2.size()!=p) gamma1grp2.set_size(p); | ~~~~~~~~~~~~~~~~~^~~ msnCP_dev_grad.cpp:197:31: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 197 | for (int i=0,c=0;c<p;c++) for (int r=c;r<p;r++,i++) | ^~~ msnCP_dev_grad.cpp:200:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 200 | vdOmgb = vtmpM * dOmgbdOmg; | ^~~~~~ msnCP_dev_grad.cpp: In function 'Rcpp::NumericVector msnCP_dev_grad1(Rcpp::NumericVector&, const Rcpp::NumericMatrix&, const Rcpp::IntegerVector&, int, int, int, int, double, bool, double, double, double, double, double, bool, bool)': msnCP_dev_grad.cpp:334:25: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare] 334 | if (SigmaSrgrad.size()!=nvcovsrpar) SigmaSrgrad.set_size(nvcovsrpar); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ msnCP_dev_grad.cpp:335:18: warning: comparison of integer expressions of different signedness: 'const arma::uword' {aka 'const unsigned int'} and 'int' [-Wsign-compare] 335 | if (tmpM.n_rows!=nvcovpar || tmpM.n_cols!=nvcovsrpar) tmpM.set_size(nvcovpar,nvcovsrpar); | ~~~~~~~~~~~^~~~~~~~~~ msnCP_dev_grad.cpp:335:43: warning: comparison of integer expressions of different signedness: 'const arma::uword' {aka 'const unsigned int'} and 'int' [-Wsign-compare] 335 | if (tmpM.n_rows!=nvcovpar || tmpM.n_cols!=nvcovsrpar) tmpM.set_size(nvcovpar,nvcovsrpar); | ~~~~~~~~~~~^~~~~~~~~~~~ msnCP_dev_grad.cpp:337:22: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare] 337 | if (CPgrad.size()!=CPgradl) CPgrad.set_size(CPgradl); | ~~~~~~~~~~~~~^~~~~~~~~ msnCP_dev_grad.cpp:338:21: warning: comparison of integer expressions of different signedness: 'const arma::uword' {aka 'const unsigned int'} and 'const int' [-Wsign-compare] 338 | if (Sigma.n_rows!=p || Sigma.n_cols!=p) Sigma.set_size(p,p); | ~~~~~~~~~~~~^~~ msnCP_dev_grad.cpp:338:40: warning: comparison of integer expressions of different signedness: 'const arma::uword' {aka 'const unsigned int'} and 'const int' [-Wsign-compare] 338 | if (Sigma.n_rows!=p || Sigma.n_cols!=p) Sigma.set_size(p,p); | ~~~~~~~~~~~~^~~ msnCP_dev_grad.cpp:339:20: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare] 339 | if (tmpv.size()!=nvcovpar) tmpv.set_size(nvcovpar); | ~~~~~~~~~~~^~~~~~~~~~ In file included from msnCP_dev_grad.cpp:4: RestCovGrad.cpp: In instantiation of 'void C2CPgrad(int, int, int, Rcpp::Vector<14, Rcpp::PreserveStorage>::iterator, bool, RCTMATTP&) [with RCTMATTP = arma::Mat<double>; SQMATTP = arma::Mat<double>; EXTVCTTP = arma::Col<double>; Rcpp::Vector<14, Rcpp::PreserveStorage>::iterator = double*]': RestCovGrad.cpp:162:48: required from 'void RestCov_grad(int, int, int, int, Rcpp::Vector<14, Rcpp::PreserveStorage>::iterator, bool, RCTMATTP&) [with RCTMATTP = arma::Mat<double>; SQMATTP = arma::Mat<double>; EXTVCTTP = arma::Col<double>; Rcpp::Vector<14, Rcpp::PreserveStorage>::iterator = double*]' msnCP_dev_grad.cpp:360:30: required from here RestCovGrad.cpp:61:21: warning: comparison of integer expressions of different signedness: 'const arma::uword' {aka 'const unsigned int'} and 'const int' [-Wsign-compare] 61 | if (Sigma.n_rows!=p || Sigma.n_cols!=p) Sigma.set_size(p,p); | ~~~~~~~~~~~~^~~ RestCovGrad.cpp:61:40: warning: comparison of integer expressions of different signedness: 'const arma::uword' {aka 'const unsigned int'} and 'const int' [-Wsign-compare] 61 | if (Sigma.n_rows!=p || Sigma.n_cols!=p) Sigma.set_size(p,p); | ~~~~~~~~~~~~^~~ RestCovGrad.cpp:62:24: warning: comparison of integer expressions of different signedness: 'const arma::uword' {aka 'const unsigned int'} and 'const int' [-Wsign-compare] 62 | if (SigmaSrU.n_rows!=p || SigmaSrU.n_cols!=p) SigmaSrU.set_size(p,p); | ~~~~~~~~~~~~~~~^~~ RestCovGrad.cpp:62:46: warning: comparison of integer expressions of different signedness: 'const arma::uword' {aka 'const unsigned int'} and 'const int' [-Wsign-compare] 62 | if (SigmaSrU.n_rows!=p || SigmaSrU.n_cols!=p) SigmaSrU.set_size(p,p); | ~~~~~~~~~~~~~~~^~~ RestCovGrad.cpp:63:23: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'const int' [-Wsign-compare] 63 | if (fullpar.size()!=nvcovpar) fullpar.set_size(nvcovpar); | ~~~~~~~~~~~~~~^~~~~~~~~~ RestCovGrad.cpp: In instantiation of 'void C4CPgrad(int, int, int, Rcpp::Vector<14, Rcpp::PreserveStorage>::iterator, bool, RCTMATTP&) [with RCTMATTP = arma::Mat<double>; SQMATTP = arma::Mat<double>; EXTVCTTP = arma::Col<double>; Rcpp::Vector<14, Rcpp::PreserveStorage>::iterator = double*]': RestCovGrad.cpp:164:48: required from 'void RestCov_grad(int, int, int, int, Rcpp::Vector<14, Rcpp::PreserveStorage>::iterator, bool, RCTMATTP&) [with RCTMATTP = arma::Mat<double>; SQMATTP = arma::Mat<double>; EXTVCTTP = arma::Col<double>; Rcpp::Vector<14, Rcpp::PreserveStorage>::iterator = double*]' msnCP_dev_grad.cpp:360:30: required from here RestCovGrad.cpp:130:34: warning: comparison of integer expressions of different signedness: 'arma::uword' {aka 'unsigned int'} and 'int' [-Wsign-compare] 130 | if (!FixedArrays && ppar.size()!=npcovpar) ppar.set_size(npcovpar); | ~~~~~~~~~~~^~~~~~~~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c registerDynamicSimbol.cpp -o registerDynamicSimbol.o g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.2/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c sampleint.cpp -o sampleint.o g++ -std=gnu++17 -shared -s -static-libgcc -o MAINT.Data.dll tmp.def AdMatAlgFoo.o AuxFoo.o CEMGauss.o MDataGaussLogLik.o MinMaxEgval.o RestCovGrad.o fasttle.o fulltle.o msnCP_Aux.o msnCP_dev.o msnCP_dev_RIntf.o msnCP_dev_grad.o registerDynamicSimbol.o sampleint.o -LD:/RCompile/recent/R-4.4.2/bin/x64 -lRlapack -LD:/RCompile/recent/R-4.4.2/bin/x64 -lRblas -lgfortran -lm -lquadmath -Ld:/rtools44/x86_64-w64-mingw32.static.posix/lib/x64 -Ld:/rtools44/x86_64-w64-mingw32.static.posix/lib -LD:/RCompile/recent/R-4.4.2/bin/x64 -lR make[1]: Leaving directory '/d/temp/2024_11_19_01_50_00_21579/Rtmp6dWAvp/R.INSTALL160d4568c42c4/MAINT.Data/src' make[1]: Entering directory '/d/temp/2024_11_19_01_50_00_21579/Rtmp6dWAvp/R.INSTALL160d4568c42c4/MAINT.Data/src' make[1]: Leaving directory '/d/temp/2024_11_19_01_50_00_21579/Rtmp6dWAvp/R.INSTALL160d4568c42c4/MAINT.Data/src' installing to d:/Rcompile/CRANpkg/lib/4.4/00LOCK-MAINT.Data/00new/MAINT.Data/libs/x64 ** R ** data *** moving datasets to lazyload DB ** byte-compile and prepare package for lazy loading Creating a new generic function for 'rbind' in package 'MAINT.Data' Creating a new generic function for 'cbind' in package 'MAINT.Data' ** help *** installing help indices ** building package indices ** testing if installed package can be loaded from temporary location ** testing if installed package can be loaded from final location ** testing if installed package keeps a record of temporary installation path * MD5 sums packaged installation of 'MAINT.Data' as MAINT.Data_2.7.1.zip * DONE (MAINT.Data)