* installing *source* package 'gkwreg' ... ** this is package 'gkwreg' version '1.3.2' ** using staged installation ** libs using C++ compiler: 'g++.exe (GCC) 14.2.0' g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c RcppExports.cpp -o RcppExports.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c gkwgetstartvalues.cpp -o gkwgetstartvalues.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c gkwmle.cpp -o gkwmle.o gkwmle.cpp: In function 'double llkkw(const Rcpp::NumericVector&, const Rcpp::NumericVector&)': gkwmle.cpp:3692:15: warning: unused variable 'exp_threshold' [-Wunused-variable] 3692 | const double exp_threshold = -700.0; | ^~~~~~~~~~~~~ gkwmle.cpp: In function 'Rcpp::NumericVector grkkw(const Rcpp::NumericVector&, const Rcpp::NumericVector&)': gkwmle.cpp:4022:15: warning: unused variable 'exp_threshold' [-Wunused-variable] 4022 | const double exp_threshold = -700.0; | ^~~~~~~~~~~~~ gkwmle.cpp: In function 'Rcpp::NumericMatrix hskkw(const Rcpp::NumericVector&, const Rcpp::NumericVector&)': gkwmle.cpp:4506:52: warning: variable 'log_z' set but not used [-Wunused-but-set-variable] 4506 | double w_lambda, w_lambda_m1, w_lambda_m2, z, log_z; | ^~~~~ gkwmle.cpp:4359:15: warning: unused variable 'exp_threshold' [-Wunused-variable] 4359 | const double exp_threshold = -700.0; | ^~~~~~~~~~~~~ gkwmle.cpp: In function 'Rcpp::NumericMatrix hsbkw(const Rcpp::NumericVector&, const Rcpp::NumericVector&)': gkwmle.cpp:7592:11: warning: variable 'ln_w' set but not used [-Wunused-but-set-variable] 7592 | double ln_w; // ln(w) | ^~~~ gkwmle.cpp: In function 'Rcpp::NumericMatrix hsekw(const Rcpp::NumericVector&, const Rcpp::NumericVector&)': gkwmle.cpp:10178:15: warning: unused variable 'eps' [-Wunused-variable] 10178 | const double eps = std::numeric_limits::epsilon() * 100; | ^~~ gkwmle.cpp: In function 'double llmc(const Rcpp::NumericVector&, const Rcpp::NumericVector&)': gkwmle.cpp:12143:15: warning: unused variable 'exp_threshold' [-Wunused-variable] 12143 | const double exp_threshold = -700.0; | ^~~~~~~~~~~~~ gkwmle.cpp: In function 'arma::mat makePositiveDefinite(arma::mat, double)': gkwmle.cpp:15933:9: warning: unused variable 'shift' [-Wunused-variable] 15933 | double shift = std::max(min_eigenval, -min_eig + min_eigenval * 10.0); | ^~~~~ gkwmle.cpp:15870:8: warning: unused variable 'sym_tol' [-Wunused-variable] 15870 | double sym_tol = 1e-8; | ^~~~~~~ gkwmle.cpp: In function 'Rcpp::List trustRegionUpdate(Rcpp::NumericVector, Rcpp::NumericVector, std::function, Rcpp::Vector<14, Rcpp::PreserveStorage>)>, std::function(Rcpp::Vector<14, Rcpp::PreserveStorage>, Rcpp::Vector<14, Rcpp::PreserveStorage>)>, std::function(Rcpp::Vector<14, Rcpp::PreserveStorage>, Rcpp::Vector<14, Rcpp::PreserveStorage>)>, double, double, bool, double, double)': gkwmle.cpp:16891:6: warning: unused variable 'valid_evaluation' [-Wunused-variable] 16891 | bool valid_evaluation = true; | ^~~~~~~~~~~~~~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c gkwmle2.cpp -o gkwmle2.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c gkwreg-predict-resid.cpp -o gkwreg-predict-resid.o g++ -std=gnu++17 -shared -s -static-libgcc -o gkwreg.dll tmp.def RcppExports.o gkwgetstartvalues.o gkwmle.o gkwmle2.o gkwreg-predict-resid.o -LD:/RCompile/recent/R/bin/x64 -lRlapack -LD:/RCompile/recent/R/bin/x64 -lRblas -lgfortran -lquadmath -Ld:/rtools45/x86_64-w64-mingw32.static.posix/lib/x64 -Ld:/rtools45/x86_64-w64-mingw32.static.posix/lib -LD:/RCompile/recent/R/bin/x64 -lR installing to d:/RCompile/CRANincoming/R-devel/lib/00LOCK-gkwreg/00new/gkwreg/libs/x64 ** R ** inst ** byte-compile and prepare package for lazy loading ** 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 * DONE (gkwreg)