* installing *source* package 'lnmixsurv' ...
** this is package 'lnmixsurv' version '3.1.6'
** package 'lnmixsurv' successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: 'g++.exe (GCC) 14.2.0'
using C++17
make[1]: Entering directory '/d/temp/2025_07_01_01_50_01_1069/RtmpYdKgGS/R.INSTALL458c123c69ee/lnmixsurv/src'
g++  -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppGSL/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppParallel/include'   -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include"   `D:/RCompile/recent/R/bin/x64/Rscript.exe -e "RcppGSL:::CFlags()"` -DARMA_64BIT_WORD=1 -I../inst/include/ -DRCPP_PARALLEL_USE_TBB=1   -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.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppGSL/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppParallel/include'   -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include"   `D:/RCompile/recent/R/bin/x64/Rscript.exe -e "RcppGSL:::CFlags()"` -DARMA_64BIT_WORD=1 -I../inst/include/ -DRCPP_PARALLEL_USE_TBB=1   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign    -c lognormal_mixture_gibbs.cpp -o lognormal_mixture_gibbs.o
In file included from D:/RCompile/CRANpkg/lib/4.6/RcppParallel/include/tbb/tbb.h:32,
                 from D:/RCompile/CRANpkg/lib/4.6/RcppParallel/include/RcppParallel/TBB.h:10,
                 from D:/RCompile/CRANpkg/lib/4.6/RcppParallel/include/RcppParallel.h:24,
                 from lognormal_mixture_gibbs.cpp:5:
D:/RCompile/CRANpkg/lib/4.6/RcppParallel/include/tbb/atomic.h: In instantiation of 'tbb::atomic<T>& tbb::internal::as_atomic(T&) [with T = long unsigned int]':
D:/RCompile/CRANpkg/lib/4.6/RcppParallel/include/tbb/tbb_thread.h:251:29:   required from here
  251 |             return as_atomic(location.my_id).compare_and_swap(value.my_id, comparand.my_id);
      |                    ~~~~~~~~~^~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppParallel/include/tbb/atomic.h:544:12: warning: casting 'long unsigned int' to 'tbb::atomic<long unsigned int>&' does not use 'constexpr tbb::atomic<long unsigned int>::atomic(long unsigned int)' [-Wcast-user-defined]
  544 |     return (atomic<T>&)t;
      |            ^~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppParallel/include/tbb/atomic.h: In instantiation of 'tbb::atomic<T>& tbb::internal::as_atomic(T&) [with T = tbb::interface5::internal::hash_map_base::bucket*]':
D:/RCompile/CRANpkg/lib/4.6/RcppParallel/include/tbb/concurrent_hash_map.h:291:31:   required from here
  291 |                   && as_atomic(my_table[new_seg]).compare_and_swap(is_allocating, NULL) == NULL )
      |                      ~~~~~~~~~^~~~~~~~~~~~~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/RcppParallel/include/tbb/atomic.h:544:12: warning: casting 'tbb::interface5::internal::hash_map_base::bucket*' to 'tbb::atomic<tbb::interface5::internal::hash_map_base::bucket*>&' does not use 'constexpr tbb::atomic<T*>::atomic(T*) [with T = tbb::interface5::internal::hash_map_base::bucket]' [-Wcast-user-defined]
  544 |     return (atomic<T>&)t;
      |            ^~~~~~~~~~~~~
g++  -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppGSL/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppParallel/include'   -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include"   `D:/RCompile/recent/R/bin/x64/Rscript.exe -e "RcppGSL:::CFlags()"` -DARMA_64BIT_WORD=1 -I../inst/include/ -DRCPP_PARALLEL_USE_TBB=1   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign    -c predict.cpp -o predict.o
predict.cpp: In function 'double sob_lognormal_mix(const double&, const arma::rowvec&, const arma::vec&, const arma::vec&)':
predict.cpp:17:21: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const long long unsigned int'} [-Wsign-compare]
   17 |   for (int i = 0; i < m.n_elem; i++) {
      |                   ~~^~~~~~~~~~
predict.cpp: In function 'double hazard_lognormal_mix(const double&, const arma::rowvec&, const arma::vec&, const arma::vec&)':
predict.cpp:27:21: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const long long unsigned int'} [-Wsign-compare]
   27 |   for (int i = 0; i < m.n_elem; i++) {
      |                   ~~^~~~~~~~~~
predict.cpp: In function 'arma::mat predict_survival_gibbs_cpp(const arma::vec&, const arma::rowvec&, const arma::field<arma::Mat<double> >&, arma::mat, arma::mat, const bool&, const double&)':
predict.cpp:77:26: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const long long unsigned int'} [-Wsign-compare]
   77 |   for(int time = 0; time < eval_time.n_elem; time++) {
      |                     ~~~~~^~~~~~~~~~~~~~~~~~
predict.cpp: In function 'arma::mat predict_hazard_gibbs_cpp(const arma::vec&, const arma::rowvec&, const arma::field<arma::Mat<double> >&, arma::mat, arma::mat, const bool&, const double&)':
predict.cpp:140:26: warning: comparison of integer expressions of different signedness: 'int' and 'const arma::uword' {aka 'const long long unsigned int'} [-Wsign-compare]
  140 |   for(int time = 0; time < eval_time.n_elem; time++) {
      |                     ~~~~~^~~~~~~~~~~~~~~~~~
g++  -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppGSL/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppParallel/include'   -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include"   `D:/RCompile/recent/R/bin/x64/Rscript.exe -e "RcppGSL:::CFlags()"` -DARMA_64BIT_WORD=1 -I../inst/include/ -DRCPP_PARALLEL_USE_TBB=1   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign    -c simulate_data.cpp -o simulate_data.o
g++ -shared -s -static-libgcc -o lnmixsurv.dll tmp.def RcppExports.o lognormal_mixture_gibbs.o predict.o simulate_data.o -L/lib -lgsl -lgslcblas -LD:/RCompile/recent/R/bin/x64 -lRlapack -LD:/RCompile/recent/R/bin/x64 -lRblas -lgfortran -lquadmath -LD:/RCompile/CRANpkg/lib/4.6/RcppParallel/libs/x64 -lRcppParallel -LD:/RCompile/CRANpkg/lib/4.6/RcppParallel/lib/x64 -ltbb -ltbbmalloc -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
make[1]: Leaving directory '/d/temp/2025_07_01_01_50_01_1069/RtmpYdKgGS/R.INSTALL458c123c69ee/lnmixsurv/src'
make[1]: Entering directory '/d/temp/2025_07_01_01_50_01_1069/RtmpYdKgGS/R.INSTALL458c123c69ee/lnmixsurv/src'
make[1]: Leaving directory '/d/temp/2025_07_01_01_50_01_1069/RtmpYdKgGS/R.INSTALL458c123c69ee/lnmixsurv/src'
installing to d:/Rcompile/CRANpkg/lib/4.6/00LOCK-lnmixsurv/00new/lnmixsurv/libs/x64
** R
** data
*** moving datasets to lazyload DB
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
*** copying figures
** building package indices
** installing vignettes
** 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 'lnmixsurv' as lnmixsurv_3.1.6.zip
* DONE (lnmixsurv)