* installing *source* package 'dgtf' ...
** this is package 'dgtf' version '0.1.0'
** package 'dgtf' successfully unpacked and MD5 sums checked
** using staged installation
** libs
specified C++17
using C++ compiler: 'g++.exe (GCC) 14.3.0'
using C++17
make[1]: Entering directory '/d/temp/2026_10_29_12_27_34_8335/Rtmp2p5qEb/R.INSTALL248bc24212683/dgtf/src'
g++  -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.7/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.7/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.7/BH/include' -I'D:/RCompile/CRANpkg/lib/4.7/RcppProgress/include' -I'D:/RCompile/CRANpkg/lib/4.7/pg/include'   -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include"      -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.7/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.7/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.7/BH/include' -I'D:/RCompile/CRANpkg/lib/4.7/RcppProgress/include' -I'D:/RCompile/CRANpkg/lib/4.7/pg/include'   -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include"      -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign    -c export.cpp -o export.o
In file included from ErrDist.h:6,
                 from Model.h:6,
                 from export.cpp:2:
distributions.h: In static member function 'static double Gamma::var(const double&, const double&)':
distributions.h:398:16: warning: unused variable 'a_plus_b_sq' [-Wunused-variable]
  398 |         double a_plus_b_sq = std::pow(a_plus_b, 2.);
      |                ^~~~~~~~~~~
distributions.h:399:16: warning: unused variable 'a_times_b' [-Wunused-variable]
  399 |         double a_times_b = alpha * beta;
      |                ^~~~~~~~~
Model.h: In static member function 'static void StateSpace::simulate(arma::vec&, arma::vec&, arma::vec&, arma::mat&, arma::vec&, Model&, const unsigned int&, const double&, const arma::vec&, const bool&)':
Model.h:677:16: warning: variable 'npop' set but not used [-Wunused-but-set-variable]
  677 |         double npop = 1.;
      |                ^~~~
Model.h: In static member function 'static Rcpp::List StateSpace::forecast_error(const arma::cube&, const arma::vec&, const Model&, const std::string&, const unsigned int&, const bool&, const Rcpp::Nullable<unsigned int>&, const Rcpp::Nullable<unsigned int>&)':
Model.h:830:28: warning: unused variable 'p' [-Wunused-variable]
  830 |         const unsigned int p = theta.n_rows;
      |                            ^
Model.h: In static member function 'static void StateSpace::forecast_error(double&, double&, double&, const arma::cube&, const arma::vec&, const Model&, const std::string&, const bool&)':
Model.h:970:28: warning: unused variable 'p' [-Wunused-variable]
  970 |         const unsigned int p = theta.n_rows;
      |                            ^
In file included from SequentialMonteCarlo.h:14,
                 from export.cpp:4:
ImportanceDensity.h: In function 'void prior_forward(arma::cube&, arma::cube&, arma::vec&, Model&, const arma::mat&, const arma::vec&, const arma::mat&, const arma::vec&, const arma::cube&, const bool&, const bool&, const bool&, const bool&, const bool&)':
ImportanceDensity.h:343:24: warning: unused variable 'nT' [-Wunused-variable]
  343 |     const unsigned int nT = y.n_elem - 1;
      |                        ^~
SequentialMonteCarlo.h: In static member function 'static double SMC::SequentialMonteCarlo::auxiliary_filter0(arma::mat&, arma::cube&, arma::vec&, Model&, const arma::vec&, const unsigned int&, const bool&, const bool&, const bool&, const double&)':
SequentialMonteCarlo.h:509:18: warning: variable 'compose' set but not used [-Wunused-but-set-variable]
  509 |             auto compose = [](const arma::uvec &a, const arma::uvec &b)
      |                  ^~~~~~~
SequentialMonteCarlo.h: In member function 'void SMC::TFS::infer(Model&, const arma::vec&, const bool&)':
SequentialMonteCarlo.h:2609:32: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare]
 2609 |                         j = (j < nstate) ? model.nP - 1 : j;
      |                              ~~^~~~~~~~
SequentialMonteCarlo.h: In member function 'void SMC::PL::forward_filter(Model&, const arma::vec&, const bool&)':
SequentialMonteCarlo.h:2896:22: warning: unused variable 'print_time' [-Wunused-variable]
 2896 |                 bool print_time = (t == nT - 2);
      |                      ^~~~~~~~~~
SequentialMonteCarlo.h:2881:18: warning: unused variable 'nonnegative_par1' [-Wunused-variable]
 2881 |             bool nonnegative_par1 = (dist_list[prior_par1.name] != AVAIL::Dist::gaussian);
      |                  ^~~~~~~~~~~~~~~~
SequentialMonteCarlo.h:2882:18: warning: unused variable 'withinone_par1' [-Wunused-variable]
 2882 |             bool withinone_par1 = (dist_list[prior_par1.name] == AVAIL::Dist::beta);
      |                  ^~~~~~~~~~~~~~
SequentialMonteCarlo.h:2884:18: warning: unused variable 'nonnegative_par2' [-Wunused-variable]
 2884 |             bool nonnegative_par2 = (dist_list[prior_par2.name] != AVAIL::Dist::gaussian);
      |                  ^~~~~~~~~~~~~~~~
SequentialMonteCarlo.h:2885:18: warning: unused variable 'withinone_par2' [-Wunused-variable]
 2885 |             bool withinone_par2 = (dist_list[prior_par2.name] == AVAIL::Dist::beta);
      |                  ^~~~~~~~~~~~~~
In file included from export.cpp:5:
MCMC.h: In static member function 'static void MCMC::Posterior::update_wt(arma::vec&, arma::vec&, ApproxDisturbance&, const arma::vec&, Model&, const double&)':
MCMC.h:417:24: warning: variable 'logps' set but not used [-Wunused-but-set-variable]
  417 |                 double logps = 0.;
      |                        ^~~~~
In file included from export.cpp:6:
VariationalBayes.h: In member function 'void VB::Hybrid::infer(Model&, const arma::vec&, const bool&)':
VariationalBayes.h:859:24: warning: unused variable 'log_cond_marg' [-Wunused-variable]
  859 |                 double log_cond_marg = SMC::SequentialMonteCarlo::auxiliary_filter0(
      |                        ^~~~~~~~~~~~~
g++ -shared -s -static-libgcc -o dgtf.dll tmp.def RcppExports.o export.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
make[1]: Leaving directory '/d/temp/2026_10_29_12_27_34_8335/Rtmp2p5qEb/R.INSTALL248bc24212683/dgtf/src'
make[1]: Entering directory '/d/temp/2026_10_29_12_27_34_8335/Rtmp2p5qEb/R.INSTALL248bc24212683/dgtf/src'
make[1]: Leaving directory '/d/temp/2026_10_29_12_27_34_8335/Rtmp2p5qEb/R.INSTALL248bc24212683/dgtf/src'
installing to d:/Rcompile/CRANpkg/lib/4.7/00LOCK-dgtf/00new/dgtf/libs/x64
** R
** data
*** moving datasets to lazyload DB
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** 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 'dgtf' as dgtf_0.1.0.zip
* DONE (dgtf)