* installing to library ‘/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages’
* installing *source* package ‘DIFM’ ...
** this is package ‘DIFM’ version ‘1.0’
** package ‘DIFM’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘g++-14 (Debian 14.3.0-8) 14.3.0’
using C++17
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpvOEBch/R.INSTALL2845c3330c558/DIFM/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 B.simulation.cpp -o B.simulation.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 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 W.simulation.cpp -o W.simulation.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 X.simulation.cpp -o X.simulation.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 marginal.d.cpp -o marginal.d.o
marginal.d.cpp: In function ‘Rcpp::List marginal_d_cpp(arma::mat, Rcpp::List, Rcpp::List, Rcpp::List, int, bool)’:
marginal.d.cpp:156:80: warning: ‘static out_eT arma::conv_to<out_eT>::from(const arma::Base<eT2, expr>&, const typename arma::arma_not_cx<in_eT>::result*) [with in_eT = double; T1 = arma::Glue<arma::Glue<arma::subview_row<double>, arma::Op<arma::Mat<double>, arma::op_inv_spd_default>, arma::glue_times>, arma::Col<double>, arma::glue_times>; out_eT = double; typename arma::arma_not_cx<in_eT>::result = double]’ is deprecated: replace conv_to<...>::from(X) with as_scalar(X) [-Wdeprecated-declarations]
  156 |     double log_det_Q0 = arma::log_det_sympd(Q.slice(0)) + conv_to<double>::from(e.row(0)*inv_sympd(Q.slice(0))*conv_to<colvec>::from(e.row(0)));
      |                                                           ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo:496,
                 from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:57,
                 from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/RcppArmadillo.h:32,
                 from marginal.d.cpp:2:
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_conv_to.hpp:72:1: note: declared here
   72 | conv_to<out_eT>::from(const Base<in_eT, T1>& in, const typename arma_not_cx<in_eT>::result* junk)
      | ^~~~~~~~~~~~~~~
marginal.d.cpp:169:78: warning: ‘static out_eT arma::conv_to<out_eT>::from(const arma::Base<eT2, expr>&, const typename arma::arma_not_cx<in_eT>::result*) [with in_eT = double; T1 = arma::Glue<arma::Glue<arma::subview_row<double>, arma::Op<arma::Mat<double>, arma::op_inv_spd_default>, arma::glue_times>, arma::Col<double>, arma::glue_times>; out_eT = double; typename arma::arma_not_cx<in_eT>::result = double]’ is deprecated: replace conv_to<...>::from(X) with as_scalar(X) [-Wdeprecated-declarations]
  169 |       double log_det_Qtt = log_det_sympd(Q.slice(tt)) + conv_to<double>::from(e.row(tt)*inv_sympd(Q.slice(tt))*conv_to<colvec>::from(e.row(tt)));
      |                                                         ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_conv_to.hpp:72:1: note: declared here
   72 | conv_to<out_eT>::from(const Base<in_eT, T1>& in, const typename arma_not_cx<in_eT>::result* junk)
      | ^~~~~~~~~~~~~~~
marginal.d.cpp:190:125: warning: ‘static out_eT arma::conv_to<out_eT>::from(const arma::Base<eT2, expr>&, const typename arma::arma_not_cx<in_eT>::result*) [with in_eT = double; T1 = arma::Glue<arma::Glue<arma::Op<arma::eGlue<arma::Col<double>, arma::Col<double>, arma::eglue_minus>, arma::op_htrans>, arma::Op<arma::Mat<double>, arma::op_pinv_default>, arma::glue_times>, arma::eGlue<arma::Col<double>, arma::Col<double>, arma::eglue_minus>, arma::glue_times>; out_eT = double; typename arma::arma_not_cx<in_eT>::result = double]’ is deprecated: replace conv_to<...>::from(X) with as_scalar(X) [-Wdeprecated-declarations]
  190 |       double log_b_mar = -(R-2-i)/2*log(2*M_PI) - 0.5*accu(log(b_Hplus_eigval(span(1, R-i-2)))) - 0.5* conv_to<double>::from(trans(conv_to<colvec>::from(Bnow(span(i+1, R-1))) - b_b) * pinv(b_Hplus) * (conv_to<colvec>::from(Bnow(span(i+1, R-1))) - b_b));
      |                                                                                                        ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_conv_to.hpp:72:1: note: declared here
   72 | conv_to<out_eT>::from(const Base<in_eT, T1>& in, const typename arma_not_cx<in_eT>::result* junk)
      | ^~~~~~~~~~~~~~~
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 sigma2.simulation.cpp -o sigma2.simulation.o
sigma2.simulation.cpp: In function ‘arma::vec sigma2_simulation(Rcpp::List, Rcpp::List, arma::mat, Rcpp::List)’:
sigma2.simulation.cpp:30:63: warning: ‘static out_eT arma::conv_to<out_eT>::from(const arma::Base<eT2, expr>&, const typename arma::arma_not_cx<in_eT>::result*) [with in_eT = double; T1 = arma::Glue<arma::subview_row<double>, arma::Col<double>, arma::glue_times>; out_eT = double; typename arma::arma_not_cx<in_eT>::result = double]’ is deprecated: replace conv_to<...>::from(X) with as_scalar(X) [-Wdeprecated-declarations]
   30 |       n_s2_sigma2_aux += pow(data(i,j) - conv_to<double>::from(B.row(j) * conv_to<colvec>::from(X.row(i))), 2.0);
      |                                          ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo:496,
                 from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:57,
                 from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/RcppArmadillo.h:32,
                 from sigma2.simulation.cpp:1:
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_conv_to.hpp:72:1: note: declared here
   72 | conv_to<out_eT>::from(const Base<in_eT, T1>& in, const typename arma_not_cx<in_eT>::result* junk)
      | ^~~~~~~~~~~~~~~
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 tau.simulation.cpp -o tau.simulation.o
tau.simulation.cpp: In function ‘arma::vec tau_simulation(Rcpp::List, Rcpp::List, Rcpp::List)’:
tau.simulation.cpp:34:59: warning: ‘static out_eT arma::conv_to<out_eT>::from(const arma::Base<eT2, expr>&, const typename arma::arma_not_cx<in_eT>::result*) [with in_eT = double; T1 = arma::Glue<arma::Glue<arma::Row<double>, arma::Mat<double>, arma::glue_times>, arma::Col<double>, arma::glue_times>; out_eT = double; typename arma::arma_not_cx<in_eT>::result = double]’ is deprecated: replace conv_to<...>::from(X) with as_scalar(X) [-Wdeprecated-declarations]
   34 |     double n_s2_tau_aux = n_s2_tau + conv_to<double>::from(conv_to<rowvec>::from(b_tau) * StateH_tau * conv_to<colvec>::from(b_tau));
      |                                      ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo:496,
                 from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:57,
                 from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/RcppArmadillo.h:32,
                 from tau.simulation.cpp:1:
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppArmadillo/include/current/armadillo_bits/fn_conv_to.hpp:72:1: note: declared here
   72 | conv_to<out_eT>::from(const Base<in_eT, T1>& in, const typename arma_not_cx<in_eT>::result* junk)
      | ^~~~~~~~~~~~~~~
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 theta.simulation.cpp -o theta.simulation.o
g++-14 -std=gnu++17 -shared -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -Wl,-O1 -o DIFM.so B.simulation.o RcppExports.o W.simulation.o X.simulation.o marginal.d.o sigma2.simulation.o tau.simulation.o theta.simulation.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/RtmpvOEBch/R.INSTALL2845c3330c558/DIFM/src'
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpvOEBch/R.INSTALL2845c3330c558/DIFM/src'
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpvOEBch/R.INSTALL2845c3330c558/DIFM/src'
installing to /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/00LOCK-DIFM/00new/DIFM/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 ‘DIFM’
    finding HTML links ... done
    DIFM-package                            html  
    DIFMR                                   html  
    DIFMcpp                                 html  
    Property                                html  
    Violent                                 html  
    WestStates                              html  
    buildH                                  html  
    difm.hyp.parm                           html  
    difm.model.attributes                   html  
    marginal.d                              html  
    marginal_d_cpp                          html  
    permutation.order                       html  
    permutation.scale                       html  
    plot_B.CI                               html  
    plot_B.spatial                          html  
    plot_X.CI                               html  
    plot_sigma2.CI                          html  
    plot_tau.CI                             html  
** 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 (DIFM)