* installing *source* package ‘dgtf’ ...
** this is package ‘dgtf’ version ‘0.1.0’
** package ‘dgtf’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘Apple clang version 14.0.3 (clang-1403.0.22.14.1)’
using C++17
using SDK: ‘MacOSX11.3.1.sdk’
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/BH/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppProgress/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/pg/include' -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c RcppExports.cpp -o RcppExports.o
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/BH/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppProgress/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/pg/include' -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c export.cpp -o export.o
In file included from export.cpp:2:
In file included from ./Model.h:6:
In file included from ./ErrDist.h:6:
In file included from ./distributions.h:6:
./utils.h:61:8: warning: unused variable 'is_zero' [-Wunused-variable]
                bool is_zero = input.is_zero();
                     ^
./utils.h:65:8: warning: unused variable 'is_negative' [-Wunused-variable]
                bool is_negative = arma::any(arma::vectorise(input) < -EPS);
                     ^
In file included from export.cpp:2:
In file included from ./Model.h:6:
In file included from ./ErrDist.h:6:
./distributions.h:398:16: warning: unused variable 'a_plus_b_sq' [-Wunused-variable]
        double a_plus_b_sq = std::pow(a_plus_b, 2.);
               ^
./distributions.h:399:16: warning: unused variable 'a_times_b' [-Wunused-variable]
        double a_times_b = alpha * beta;
               ^
In file included from export.cpp:2:
./Model.h:677:16: warning: variable 'npop' set but not used [-Wunused-but-set-variable]
        double npop = 1.;
               ^
./Model.h:830:28: warning: unused variable 'p' [-Wunused-variable]
        const unsigned int p = theta.n_rows;
                           ^
./Model.h:970:28: warning: unused variable 'p' [-Wunused-variable]
        const unsigned int p = theta.n_rows;
                           ^
In file included from export.cpp:4:
In file included from ./SequentialMonteCarlo.h:14:
./ImportanceDensity.h:343:24: warning: unused variable 'nT' [-Wunused-variable]
    const unsigned int nT = y.n_elem - 1;
                       ^
In file included from export.cpp:4:
./SequentialMonteCarlo.h:509:18: warning: unused variable 'compose' [-Wunused-variable]
            auto compose = [](const arma::uvec &a, const arma::uvec &b)
                 ^
./SequentialMonteCarlo.h:2896:22: warning: unused variable 'print_time' [-Wunused-variable]
                bool print_time = (t == nT - 2);
                     ^
./SequentialMonteCarlo.h:2881:18: warning: unused variable 'nonnegative_par1' [-Wunused-variable]
            bool nonnegative_par1 = (dist_list[prior_par1.name] != AVAIL::Dist::gaussian);
                 ^
./SequentialMonteCarlo.h:2882:18: warning: unused variable 'withinone_par1' [-Wunused-variable]
            bool withinone_par1 = (dist_list[prior_par1.name] == AVAIL::Dist::beta);
                 ^
./SequentialMonteCarlo.h:2884:18: warning: unused variable 'nonnegative_par2' [-Wunused-variable]
            bool nonnegative_par2 = (dist_list[prior_par2.name] != AVAIL::Dist::gaussian);
                 ^
./SequentialMonteCarlo.h:2885:18: warning: unused variable 'withinone_par2' [-Wunused-variable]
            bool withinone_par2 = (dist_list[prior_par2.name] == AVAIL::Dist::beta);
                 ^
In file included from export.cpp:5:
./MCMC.h:417:24: warning: variable 'logps' set but not used [-Wunused-but-set-variable]
                double logps = 0.;
                       ^
In file included from export.cpp:6:
./VariationalBayes.h:859:24: warning: unused variable 'log_cond_marg' [-Wunused-variable]
                double log_cond_marg = SMC::SequentialMonteCarlo::auxiliary_filter0(
                       ^
In file included from export.cpp:2:
./Model.h:612:12: warning: private field '_y0' is not used [-Wunused-private-field]
    double _y0 = 0.;
           ^
./Model.h:613:12: warning: private field '_mu0' is not used [-Wunused-private-field]
    double _mu0 = 1.;
           ^
18 warnings generated.
clang++ -arch x86_64 -std=gnu++17 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -L/Library/Frameworks/R.framework/Resources/lib -L/opt/R/x86_64/lib -o dgtf.so RcppExports.o export.o -L/Library/Frameworks/R.framework/Resources/lib -lRlapack -L/Library/Frameworks/R.framework/Resources/lib -lRblas -L/opt/gfortran/lib/gcc/x86_64-apple-darwin20.0/14.2.0 -L/opt/gfortran/lib -lemutls_w -lheapt_w -lgfortran -lquadmath -F/Library/Frameworks/R.framework/.. -framework R
installing to /Volumes/Builds/packages/big-sur-x86_64/results/4.5/dgtf.Rcheck/00LOCK-dgtf/00new/dgtf/libs
** generating debug symbols (dSYM)
** 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)