* installing to library ‘/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages’
* installing *source* package ‘LaMa’ ...
** package ‘LaMa’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘g++-14 (Debian 14.2.0-8) 14.2.0’
make[1]: Entering directory '/home/hornik/tmp/scratch/Rtmpkyfcfp/R.INSTALL3df72c779d9f14/LaMa/src'
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp  -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-patched-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp  -fpic  -g -O2 -Wall -pedantic -mtune=native   -c forward_algorithms.cpp -o forward_algorithms.o
forward_algorithms.cpp: In function ‘double forward_cpp_h(const arma::mat&, const arma::rowvec&, const arma::mat&)’:
forward_algorithms.cpp:20:27: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
   20 |   for (unsigned int i=1; i<nObs; i++){
      |                          ~^~~~~
forward_algorithms.cpp: In function ‘double forward_cpp_g(const arma::mat&, const arma::rowvec&, const arma::cube&)’:
forward_algorithms.cpp:40:27: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
   40 |   for (unsigned int i=1; i<nObs; i++){
      |                          ~^~~~~
forward_algorithms.cpp: In function ‘double forward_cpp_g_tracks(const arma::mat&, const arma::mat&, const arma::cube&, Rcpp::IntegerVector)’:
forward_algorithms.cpp:64:27: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
   64 |   for (unsigned int t=0; t<nObs; t++){
      |                          ~^~~~~
forward_algorithms.cpp:66:9: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
   66 |     if(k<K && t==(unsigned)(trackInd(k)-1)) {
      |        ~^~
forward_algorithms.cpp: In function ‘double forward_cpp_h_tracks(const arma::mat&, const arma::mat&, const arma::cube&, Rcpp::IntegerVector)’:
forward_algorithms.cpp:96:27: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
   96 |   for (unsigned int t=0; t<nObs; t++){
      |                          ~^~~~~
forward_algorithms.cpp:98:9: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
   98 |     if(k<K && t==(unsigned)(trackInd(k)-1)) {
      |        ~^~
forward_algorithms.cpp: In function ‘double forward_cpp_p(const arma::mat&, const arma::rowvec&, const arma::cube&, std::vector<int, std::allocator<int> >)’:
forward_algorithms.cpp:124:27: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
  124 |   for (unsigned int i=1; i<nObs; i++){
      |                          ~^~~~~
forward_algorithms.cpp: In function ‘double forward_cpp_s(const arma::mat&, const arma::rowvec&, const arma::mat&, const Rcpp::IntegerVector&)’:
forward_algorithms.cpp:146:27: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
  146 |   for (unsigned int i=1; i<nObs; i++){
      |                          ~^~~~~
forward_algorithms.cpp: In function ‘double forward_cpp_sp(const arma::mat&, const arma::rowvec&, const arma::cube&, const Rcpp::IntegerVector&, std::vector<int, std::allocator<int> >)’:
forward_algorithms.cpp:168:27: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
  168 |   for (unsigned int i=1; i<nObs; i++){
      |                          ~^~~~~
forward_algorithms.cpp: In function ‘arma::mat logalpha_cpp(const arma::mat&, const arma::rowvec&, const arma::cube&)’:
forward_algorithms.cpp:191:27: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
  191 |   for (unsigned int i=1; i<nObs; i++){
      |                          ~^~~~~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp  -fpic  -g -O2 -Wall -pedantic -mtune=native   -c rep_times.cpp -o rep_times.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp  -fpic  -g -O2 -Wall -pedantic -mtune=native   -c tpm_functions.cpp -o tpm_functions.o
tpm_functions.cpp: In function ‘arma::cube semigroup_cpp(const arma::mat&, const std::vector<double>&)’:
tpm_functions.cpp:55:30: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
   55 |   for (unsigned int i = 0; i < n; i++) {
      |                            ~~^~~
tpm_functions.cpp: In function ‘arma::mat tpm_thinned_t_cpp(const arma::cube&, int)’:
tpm_functions.cpp:75:25: warning: comparison of integer expressions of different signedness: ‘arma::uword’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare]
   75 |   for(arma::uword i=0; i<t-1; i++) {
      |                        ~^~~~
g++-14 -std=gnu++17 -shared -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -Wl,-O1 -o LaMa.so RcppExports.o forward_algorithms.o rep_times.o tpm_functions.o -fopenmp -llapack -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -lRblas -lgfortran -lm -lquadmath -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -lR
make[1]: Leaving directory '/home/hornik/tmp/scratch/Rtmpkyfcfp/R.INSTALL3df72c779d9f14/LaMa/src'
make[1]: Entering directory '/home/hornik/tmp/scratch/Rtmpkyfcfp/R.INSTALL3df72c779d9f14/LaMa/src'
make[1]: Leaving directory '/home/hornik/tmp/scratch/Rtmpkyfcfp/R.INSTALL3df72c779d9f14/LaMa/src'
installing to /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/00LOCK-LaMa/00new/LaMa/libs
** R
** data
*** moving datasets to lazyload DB
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
  converting help for package ‘LaMa’
    finding HTML links ... done
    LaMa-package                            html  
    buildSmoothDens                         html  
    calc_trackInd                           html  
    dgmrf2                                  html  
    forward                                 html  
    forward_g                               html  
    forward_hsmm                            html  
    forward_ihsmm                           html  
    forward_p                               html  
    forward_phsmm                           html  
    forward_s                               html  
    forward_sp                              html  
    gamma2                                  html  
    generator                               html  
    make_matrices                           html  
    make_matrices_dens                      html  
    nessi                                   html  
    penalty                                 html  
    pred_matrix                             html  
    pseudo_res                              html  
    pseudo_res_discrete                     html  
    qreml                                   html  
    sdreportMC                              html  
    stateprobs                              html  
    stateprobs_g                            html  
    stateprobs_p                            html  
    stationary                              html  
    stationary_cont                         html  
    stationary_p                            html  
    stationary_p_sparse                     html  
    stationary_sparse                       html  
    tpm                                     html  
    tpm_cont                                html  
    tpm_emb                                 html  
    tpm_emb_g                               html  
    tpm_g                                   html  
    tpm_hsmm                                html  
    tpm_hsmm2                               html  
    tpm_ihsmm                               html  
    tpm_p                                   html  
    tpm_phsmm                               html  
    tpm_phsmm2                              html  
    tpm_thinned                             html  
    trex                                    html  
    trigBasisExp                            html  
    viterbi                                 html  
    viterbi_g                               html  
    viterbi_p                               html  
    vm                                      html  
*** 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 (LaMa)