* 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++ (GCC) 16.2.1 20260819 (Red Hat 16.2.1-2)’
using C++17
make[1]: Entering directory '/data/localhost/ripley/R/packages/tests-devel/dgtf/src'
g++ -std=gnu++17 -I"/data/localhost/ripley/R/R-devel/include" -DNDEBUG -I'/data/localhost/ripley/R/test-dev/Rcpp/include' -I'/data/localhost/ripley/R/test-dev/RcppArmadillo/include' -I'/data/localhost/ripley/R/test-dev/BH/include' -I'/data/localhost/ripley/R/test-dev/RcppProgress/include' -I'/data/localhost/ripley/R/test-dev/pg/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c RcppExports.cpp -o RcppExports.o
g++ -std=gnu++17 -I"/data/localhost/ripley/R/R-devel/include" -DNDEBUG -I'/data/localhost/ripley/R/test-dev/Rcpp/include' -I'/data/localhost/ripley/R/test-dev/RcppArmadillo/include' -I'/data/localhost/ripley/R/test-dev/BH/include' -I'/data/localhost/ripley/R/test-dev/RcppProgress/include' -I'/data/localhost/ripley/R/test-dev/pg/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -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++ -std=gnu++17 -shared -L/usr/local/lib64 -o dgtf.so RcppExports.o export.o -llapack -L/data/localhost/ripley/R/R-devel/lib -lRblas -lgfortran -lm -latomic_asneeded -lquadmath
make[1]: Leaving directory '/data/localhost/ripley/R/packages/tests-devel/dgtf/src'
make[1]: Entering directory '/data/localhost/ripley/R/packages/tests-devel/dgtf/src'
make[1]: Leaving directory '/data/localhost/ripley/R/packages/tests-devel/dgtf/src'
installing to /data/localhost/ripley/R/packages/tests-devel/dgtf.Rcheck/00LOCK-dgtf/00new/dgtf/libs
** 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
** 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 (dgtf)