* installing to library ‘/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages’
* installing *source* package ‘lnmixsurv’ ...
** package ‘lnmixsurv’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘g++-14 (Debian 14.2.0-8) 14.2.0’
using C++17
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpHaRExM/R.INSTALLbb4d5f00ab89/lnmixsurv/src'
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppGSL/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppParallel/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  `/home/hornik/tmp/R.check/r-release-gcc/Work/build/bin/Rscript -e "RcppGSL:::CFlags()"` -DARMA_64BIT_WORD=1 -I../inst/include/ -fpic  -g -O2 -Wall -pedantic -mtune=native   -c RcppExports.cpp -o RcppExports.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppGSL/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppParallel/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  `/home/hornik/tmp/R.check/r-release-gcc/Work/build/bin/Rscript -e "RcppGSL:::CFlags()"` -DARMA_64BIT_WORD=1 -I../inst/include/ -fpic  -g -O2 -Wall -pedantic -mtune=native   -c lognormal_mixture_gibbs.cpp -o lognormal_mixture_gibbs.o
In file included from /home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppParallel/include/tbb/tbb.h:32,
                 from /home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppParallel/include/RcppParallel/TBB.h:10,
                 from /home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppParallel/include/RcppParallel.h:24,
                 from lognormal_mixture_gibbs.cpp:5:
/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppParallel/include/tbb/atomic.h: In instantiation of ‘tbb::atomic<T>& tbb::internal::as_atomic(T&) [with T = long unsigned int]’:
/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/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);
      |                    ~~~~~~~~~^~~~~~~~~~~~~~~~
/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/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;
      |            ^~~~~~~~~~~~~
/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/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*]’:
/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/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 )
      |                      ~~~~~~~~~^~~~~~~~~~~~~~~~~~~
/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/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++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppGSL/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppParallel/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  `/home/hornik/tmp/R.check/r-release-gcc/Work/build/bin/Rscript -e "RcppGSL:::CFlags()"` -DARMA_64BIT_WORD=1 -I../inst/include/ -fpic  -g -O2 -Wall -pedantic -mtune=native   -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++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppGSL/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppParallel/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  `/home/hornik/tmp/R.check/r-release-gcc/Work/build/bin/Rscript -e "RcppGSL:::CFlags()"` -DARMA_64BIT_WORD=1 -I../inst/include/ -fpic  -g -O2 -Wall -pedantic -mtune=native   -c simulate_data.cpp -o simulate_data.o
g++-14 -std=gnu++17 -shared -L/home/hornik/tmp/R.check/r-release-gcc/Work/build/lib -Wl,-O1 -o lnmixsurv.so RcppExports.o lognormal_mixture_gibbs.o predict.o simulate_data.o -L/usr/lib/x86_64-linux-gnu -lgsl -lgslcblas -lm -llapack -L/home/hornik/tmp/R.check/r-release-gcc/Work/build/lib -lRblas -lgfortran -lm -lquadmath -L/home/hornik/tmp/R.check/r-release-gcc/Work/build/lib -lR
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpHaRExM/R.INSTALLbb4d5f00ab89/lnmixsurv/src'
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpHaRExM/R.INSTALLbb4d5f00ab89/lnmixsurv/src'
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpHaRExM/R.INSTALLbb4d5f00ab89/lnmixsurv/src'
installing to /home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/00LOCK-lnmixsurv/00new/lnmixsurv/libs
** 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
** 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 (lnmixsurv)