* installing to library ‘/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages’
* installing *source* package ‘dynsurv’ ...
** package ‘dynsurv’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C compiler: ‘gcc-13 (Debian 13.2.0-13) 13.2.0’
using C++ compiler: ‘g++-13 (Debian 13.2.0-13) 13.2.0’
make[1]: Entering directory '/tmp/RtmpGI4aj8/R.INSTALL336458440ddebc/dynsurv/src'
g++-13 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -DNDEBUG -DBOOST_NO_AUTO_PTR -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -I. -fpic  -g -O2 -Wall -pedantic -mtune=native   -c IntRegPar.cpp -o IntRegPar.o
In file included from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/mpl/aux_/na_assert.hpp:23,
                 from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/mpl/arg.hpp:25,
                 from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/mpl/placeholders.hpp:24,
                 from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/mpl/apply.hpp:24,
                 from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/serialization/array_optimization.hpp:18,
                 from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/serialization/array_wrapper.hpp:21,
                 from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/serialization/array.hpp:26,
                 from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/numeric/ublas/storage.hpp:22,
                 from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/numeric/ublas/vector.hpp:21,
                 from ublas.h:14,
                 from IntRegPar.h:15,
                 from IntRegPar.cpp:10:
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/mpl/assert.hpp:194:21: warning: unnecessary parentheses in declaration of ‘assert_arg’ [-Wparentheses]
  194 | failed ************ (Pred::************
      |                     ^~~~~~~~~~~~~~~~~~~
  195 |       assert_arg( void (*)(Pred), typename assert_arg_pred<Pred>::type )
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  196 |     );
      |     ~                
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/mpl/assert.hpp:194:21: note: remove parentheses
  194 | failed ************ (Pred::************
      |                     ^~~~~~~~~~~~~~~~~~~
      |                     -
  195 |       assert_arg( void (*)(Pred), typename assert_arg_pred<Pred>::type )
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  196 |     );
      |     ~                
      |     -
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/mpl/assert.hpp:199:21: warning: unnecessary parentheses in declaration of ‘assert_not_arg’ [-Wparentheses]
  199 | failed ************ (boost::mpl::not_<Pred>::************
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  200 |       assert_not_arg( void (*)(Pred), typename assert_arg_pred_not<Pred>::type )
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  201 |     );
      |     ~                
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/mpl/assert.hpp:199:21: note: remove parentheses
  199 | failed ************ (boost::mpl::not_<Pred>::************
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                     -
  200 |       assert_not_arg( void (*)(Pred), typename assert_arg_pred_not<Pred>::type )
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  201 |     );
      |     ~                
      |     -
In file included from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/numeric/ublas/traits.hpp:21,
                 from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/numeric/ublas/storage.hpp:27:
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/numeric/ublas/detail/iterator.hpp:111:21: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
  111 |         public std::iterator<IC, T> {
      |                     ^~~~~~~~
In file included from /usr/include/c++/13/bits/stl_algobase.h:65,
                 from /usr/include/c++/13/algorithm:60,
                 from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/numeric/ublas/storage.hpp:16:
/usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/numeric/ublas/detail/iterator.hpp:149:21: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
  149 |         public std::iterator<IC, T> {
      |                     ^~~~~~~~
/usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/numeric/ublas/detail/iterator.hpp:204:21: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
  204 |         public std::iterator<IC, T> {
      |                     ^~~~~~~~
/usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
gcc-13 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -DNDEBUG -DBOOST_NO_AUTO_PTR -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c arms.c -o arms.o
arms.c: In function ‘meet’:
arms.c:759:15: warning: ‘gr’ may be used uninitialized [-Wmaybe-uninitialized]
  759 |     dl = (grl - gr) * (q->pr->x - q->pl->x);
      |          ~~~~~^~~~~
arms.c:697:13: note: ‘gr’ was declared here
  697 |   double gl,gr,grl,dl,dr;
      |             ^~
arms.c:769:48: warning: ‘dr’ may be used uninitialized [-Wmaybe-uninitialized]
  769 |     q->y = (dl * q->pr->y + dr * q->pl->y + dl * dr)/(dl + dr);
      |                                             ~~~^~~~
arms.c:697:23: note: ‘dr’ was declared here
  697 |   double gl,gr,grl,dl,dr;
      |                       ^~
arms.c: In function ‘invert’:
arms.c:448:19: warning: ‘xr’ may be used uninitialized [-Wmaybe-uninitialized]
  448 |   if ((p->x < xl) || (p->x > xr))return(1);
      |       ~~~~~~~~~~~~^~~~~~~~~~~~~~
arms.c:393:23: note: ‘xr’ was declared here
  393 |   double u, xl = 0.0, xr,yl,yr,eyl,eyr,prop; //,z;
      |                       ^~
g++-13 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -DNDEBUG -DBOOST_NO_AUTO_PTR -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -I. -fpic  -g -O2 -Wall -pedantic -mtune=native   -c bayesCox.cpp -o bayesCox.o
In file included from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/mpl/aux_/na_assert.hpp:23,
                 from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/mpl/arg.hpp:25,
                 from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/mpl/placeholders.hpp:24,
                 from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/mpl/apply.hpp:24,
                 from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/serialization/array_optimization.hpp:18,
                 from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/serialization/array_wrapper.hpp:21,
                 from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/serialization/array.hpp:26,
                 from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/numeric/ublas/storage.hpp:22,
                 from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/numeric/ublas/vector.hpp:21,
                 from ublas.h:14,
                 from IntRegPar.h:15,
                 from TimeIndepCoxModel.h:16,
                 from bayesCox.cpp:3:
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/mpl/assert.hpp:194:21: warning: unnecessary parentheses in declaration of ‘assert_arg’ [-Wparentheses]
  194 | failed ************ (Pred::************
      |                     ^~~~~~~~~~~~~~~~~~~
  195 |       assert_arg( void (*)(Pred), typename assert_arg_pred<Pred>::type )
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  196 |     );
      |     ~                
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/mpl/assert.hpp:194:21: note: remove parentheses
  194 | failed ************ (Pred::************
      |                     ^~~~~~~~~~~~~~~~~~~
      |                     -
  195 |       assert_arg( void (*)(Pred), typename assert_arg_pred<Pred>::type )
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  196 |     );
      |     ~                
      |     -
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/mpl/assert.hpp:199:21: warning: unnecessary parentheses in declaration of ‘assert_not_arg’ [-Wparentheses]
  199 | failed ************ (boost::mpl::not_<Pred>::************
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  200 |       assert_not_arg( void (*)(Pred), typename assert_arg_pred_not<Pred>::type )
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  201 |     );
      |     ~                
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/mpl/assert.hpp:199:21: note: remove parentheses
  199 | failed ************ (boost::mpl::not_<Pred>::************
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                     -
  200 |       assert_not_arg( void (*)(Pred), typename assert_arg_pred_not<Pred>::type )
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  201 |     );
      |     ~                
      |     -
In file included from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/numeric/ublas/traits.hpp:21,
                 from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/numeric/ublas/storage.hpp:27:
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/numeric/ublas/detail/iterator.hpp:111:21: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
  111 |         public std::iterator<IC, T> {
      |                     ^~~~~~~~
In file included from /usr/include/c++/13/bits/stl_iterator_base_funcs.h:66,
                 from /usr/include/c++/13/string:47,
                 from /usr/include/c++/13/bits/locale_classes.h:40,
                 from /usr/include/c++/13/bits/ios_base.h:41,
                 from /usr/include/c++/13/ios:44,
                 from /usr/include/c++/13/ostream:40,
                 from /usr/include/c++/13/iostream:41,
                 from IntRegPrior.h:14,
                 from TimeIndepCoxModel.h:15:
/usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/numeric/ublas/detail/iterator.hpp:149:21: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
  149 |         public std::iterator<IC, T> {
      |                     ^~~~~~~~
/usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/numeric/ublas/detail/iterator.hpp:204:21: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
  204 |         public std::iterator<IC, T> {
      |                     ^~~~~~~~
/usr/include/c++/13/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
In file included from TimeIndepCoxModel.h:17:
TimeIndepModel.h: In instantiation of ‘void ir::TimeIndepModel<Prior, Par>::sampleBeta(const boost::numeric::ublas::vector<double>&, const boost::numeric::ublas::matrix<int>&, const boost::numeric::ublas::matrix<double>&, const boost::numeric::ublas::vector<double>&, const ir::NormalPrior&, boost::numeric::ublas::vector<double>&) [with Prior = ir::CoxPrior<ir::GammaPrior, ir::NormalPrior>; Par = ir::TimeIndepCoxPar]’:
TimeIndepCoxModel.h:78:19:   required from ‘void ir::TimeIndepCoxModel<Prior>::gibbsKernel(const Prior&, ir::TimeIndepCoxPar&) [with Prior = ir::CoxPrior<ir::GammaPrior, ir::NormalPrior>]’
GibbsSampler.h:94:21:   required from ‘void ir::GibbsSampler<M>::runGibbs(const Prior_type&, bool, Size) [with M = ir::TimeIndepCoxModel<ir::CoxPrior<ir::GammaPrior, ir::NormalPrior> >; Prior_type = ir::CoxPrior<ir::GammaPrior, ir::NormalPrior>; Size = long unsigned int]’
bayesCox.cpp:51:18:   required from here
TimeIndepModel.h:65:7: warning: variable ‘err’ set but not used [-Wunused-but-set-variable]
   65 |   int err;
      |       ^~~
TimeIndepModel.h: In instantiation of ‘void ir::TimeIndepModel<Prior, Par>::sampleBeta(const boost::numeric::ublas::vector<double>&, const boost::numeric::ublas::matrix<int>&, const boost::numeric::ublas::matrix<double>&, const boost::numeric::ublas::vector<double>&, const ir::NormalPrior&, boost::numeric::ublas::vector<double>&) [with Prior = ir::CoxPrior<ir::GammaProcessPrior, ir::NormalPrior>; Par = ir::TimeIndepCoxPar]’:
TimeIndepCoxModel.h:78:19:   required from ‘void ir::TimeIndepCoxModel<Prior>::gibbsKernel(const Prior&, ir::TimeIndepCoxPar&) [with Prior = ir::CoxPrior<ir::GammaProcessPrior, ir::NormalPrior>]’
GibbsSampler.h:94:21:   required from ‘void ir::GibbsSampler<M>::runGibbs(const Prior_type&, bool, Size) [with M = ir::TimeIndepCoxModel<ir::CoxPrior<ir::GammaProcessPrior, ir::NormalPrior> >; Prior_type = ir::CoxPrior<ir::GammaProcessPrior, ir::NormalPrior>; Size = long unsigned int]’
bayesCox.cpp:79:18:   required from here
TimeIndepModel.h:65:7: warning: variable ‘err’ set but not used [-Wunused-but-set-variable]
In file included from TimeVaryingCoxModel.h:17,
                 from bayesCox.cpp:4:
TimeVaryingModel.h: In instantiation of ‘void ir::TimeVaryingModel<Prior, Par>::sampleBeta(const boost::numeric::ublas::vector<double>&, const boost::numeric::ublas::matrix<int>&, const boost::numeric::ublas::matrix<double>&, const boost::numeric::ublas::vector<double>&, const ir::NormalProcessPrior&, boost::numeric::ublas::matrix<double>&, boost::numeric::ublas::vector<double>&) [with Prior = ir::CoxPrior<ir::GammaPrior, ir::NormalProcessPrior>; Par = ir::TimeVaryingCoxPar]’:
TimeVaryingCoxModel.h:78:19:   required from ‘void ir::TimeVaryingCoxModel<Prior>::gibbsKernel(const Prior&, ir::TimeVaryingCoxPar&) [with Prior = ir::CoxPrior<ir::GammaPrior, ir::NormalProcessPrior>]’
GibbsSampler.h:94:21:   required from ‘void ir::GibbsSampler<M>::runGibbs(const Prior_type&, bool, Size) [with M = ir::TimeVaryingCoxModel<ir::CoxPrior<ir::GammaPrior, ir::NormalProcessPrior> >; Prior_type = ir::CoxPrior<ir::GammaPrior, ir::NormalProcessPrior>; Size = long unsigned int]’
bayesCox.cpp:108:18:   required from here
TimeVaryingModel.h:85:7: warning: variable ‘err’ set but not used [-Wunused-but-set-variable]
   85 |   int err;
      |       ^~~
TimeVaryingModel.h: In instantiation of ‘void ir::TimeVaryingModel<Prior, Par>::sampleBeta(const boost::numeric::ublas::vector<double>&, const boost::numeric::ublas::matrix<int>&, const boost::numeric::ublas::matrix<double>&, const boost::numeric::ublas::vector<double>&, const ir::NormalInvGammaProcessPrior&, boost::numeric::ublas::matrix<double>&, boost::numeric::ublas::vector<double>&) [with Prior = ir::CoxPrior<ir::GammaPrior, ir::NormalInvGammaProcessPrior>; Par = ir::TimeVaryingCoxPar]’:
TimeVaryingCoxModel.h:78:19:   required from ‘void ir::TimeVaryingCoxModel<Prior>::gibbsKernel(const Prior&, ir::TimeVaryingCoxPar&) [with Prior = ir::CoxPrior<ir::GammaPrior, ir::NormalInvGammaProcessPrior>]’
GibbsSampler.h:94:21:   required from ‘void ir::GibbsSampler<M>::runGibbs(const Prior_type&, bool, Size) [with M = ir::TimeVaryingCoxModel<ir::CoxPrior<ir::GammaPrior, ir::NormalInvGammaProcessPrior> >; Prior_type = ir::CoxPrior<ir::GammaPrior, ir::NormalInvGammaProcessPrior>; Size = long unsigned int]’
bayesCox.cpp:137:18:   required from here
TimeVaryingModel.h:162:7: warning: variable ‘err’ set but not used [-Wunused-but-set-variable]
  162 |   int err;
      |       ^~~
TimeVaryingModel.h: In instantiation of ‘void ir::TimeVaryingModel<Prior, Par>::sampleBeta(const boost::numeric::ublas::vector<double>&, const boost::numeric::ublas::matrix<int>&, const boost::numeric::ublas::matrix<double>&, const boost::numeric::ublas::vector<double>&, const ir::NormalProcessPrior&, boost::numeric::ublas::matrix<double>&, boost::numeric::ublas::vector<double>&) [with Prior = ir::CoxPrior<ir::GammaProcessPrior, ir::NormalProcessPrior>; Par = ir::TimeVaryingCoxPar]’:
TimeVaryingCoxModel.h:78:19:   required from ‘void ir::TimeVaryingCoxModel<Prior>::gibbsKernel(const Prior&, ir::TimeVaryingCoxPar&) [with Prior = ir::CoxPrior<ir::GammaProcessPrior, ir::NormalProcessPrior>]’
GibbsSampler.h:94:21:   required from ‘void ir::GibbsSampler<M>::runGibbs(const Prior_type&, bool, Size) [with M = ir::TimeVaryingCoxModel<ir::CoxPrior<ir::GammaProcessPrior, ir::NormalProcessPrior> >; Prior_type = ir::CoxPrior<ir::GammaProcessPrior, ir::NormalProcessPrior>; Size = long unsigned int]’
bayesCox.cpp:168:18:   required from here
TimeVaryingModel.h:85:7: warning: variable ‘err’ set but not used [-Wunused-but-set-variable]
   85 |   int err;
      |       ^~~
TimeVaryingModel.h: In instantiation of ‘void ir::TimeVaryingModel<Prior, Par>::sampleBeta(const boost::numeric::ublas::vector<double>&, const boost::numeric::ublas::matrix<int>&, const boost::numeric::ublas::matrix<double>&, const boost::numeric::ublas::vector<double>&, const ir::NormalInvGammaProcessPrior&, boost::numeric::ublas::matrix<double>&, boost::numeric::ublas::vector<double>&) [with Prior = ir::CoxPrior<ir::GammaProcessPrior, ir::NormalInvGammaProcessPrior>; Par = ir::TimeVaryingCoxPar]’:
TimeVaryingCoxModel.h:78:19:   required from ‘void ir::TimeVaryingCoxModel<Prior>::gibbsKernel(const Prior&, ir::TimeVaryingCoxPar&) [with Prior = ir::CoxPrior<ir::GammaProcessPrior, ir::NormalInvGammaProcessPrior>]’
GibbsSampler.h:94:21:   required from ‘void ir::GibbsSampler<M>::runGibbs(const Prior_type&, bool, Size) [with M = ir::TimeVaryingCoxModel<ir::CoxPrior<ir::GammaProcessPrior, ir::NormalInvGammaProcessPrior> >; Prior_type = ir::CoxPrior<ir::GammaProcessPrior, ir::NormalInvGammaProcessPrior>; Size = long unsigned int]’
bayesCox.cpp:197:18:   required from here
TimeVaryingModel.h:162:7: warning: variable ‘err’ set but not used [-Wunused-but-set-variable]
  162 |   int err;
      |       ^~~
In file included from DynamicCoxModel.h:17,
                 from bayesCox.cpp:5:
DynamicModel.h: In instantiation of ‘void ir::DynamicModel<Prior, Par>::sampleBeta(Size, const boost::numeric::ublas::matrix<int>&, const boost::numeric::ublas::matrix<double>&, const boost::numeric::ublas::vector<double>&, const boost::numeric::ublas::matrix<int>&, const boost::numeric::ublas::vector<double>&, const ir::NormalProcessPrior&, boost::numeric::ublas::matrix<double>&, boost::numeric::ublas::vector<double>&) [with Prior = ir::CoxPrior<ir::GammaPrior, ir::NormalProcessPrior>; Par = ir::DynamicCoxPar; Size = long unsigned int]’:
DynamicCoxModel.h:136:23:   required from ‘void ir::DynamicCoxModel<Prior>::gibbsKernel(const Prior&, ir::DynamicCoxPar&) [with Prior = ir::CoxPrior<ir::GammaPrior, ir::NormalProcessPrior>]’
GibbsSampler.h:94:21:   required from ‘void ir::GibbsSampler<M>::runGibbs(const Prior_type&, bool, Size) [with M = ir::DynamicCoxModel<ir::CoxPrior<ir::GammaPrior, ir::NormalProcessPrior> >; Prior_type = ir::CoxPrior<ir::GammaPrior, ir::NormalProcessPrior>; Size = long unsigned int]’
bayesCox.cpp:229:18:   required from here
DynamicModel.h:355:11: warning: variable ‘err’ set but not used [-Wunused-but-set-variable]
  355 |       int err;
      |           ^~~
DynamicModel.h: In instantiation of ‘void ir::DynamicModel<Prior, Par>::sampleBeta(Size, const boost::numeric::ublas::matrix<int>&, const boost::numeric::ublas::matrix<double>&, const boost::numeric::ublas::vector<double>&, const boost::numeric::ublas::matrix<int>&, const boost::numeric::ublas::vector<double>&, const ir::NormalInvGammaProcessPrior&, boost::numeric::ublas::matrix<double>&, boost::numeric::ublas::vector<double>&) [with Prior = ir::CoxPrior<ir::GammaPrior, ir::NormalInvGammaProcessPrior>; Par = ir::DynamicCoxPar; Size = long unsigned int]’:
DynamicCoxModel.h:136:23:   required from ‘void ir::DynamicCoxModel<Prior>::gibbsKernel(const Prior&, ir::DynamicCoxPar&) [with Prior = ir::CoxPrior<ir::GammaPrior, ir::NormalInvGammaProcessPrior>]’
GibbsSampler.h:94:21:   required from ‘void ir::GibbsSampler<M>::runGibbs(const Prior_type&, bool, Size) [with M = ir::DynamicCoxModel<ir::CoxPrior<ir::GammaPrior, ir::NormalInvGammaProcessPrior> >; Prior_type = ir::CoxPrior<ir::GammaPrior, ir::NormalInvGammaProcessPrior>; Size = long unsigned int]’
bayesCox.cpp:262:18:   required from here
DynamicModel.h:452:11: warning: variable ‘err’ set but not used [-Wunused-but-set-variable]
  452 |       int err;
      |           ^~~
DynamicModel.h: In instantiation of ‘void ir::DynamicModel<Prior, Par>::sampleBeta(Size, const boost::numeric::ublas::matrix<int>&, const boost::numeric::ublas::matrix<double>&, const boost::numeric::ublas::vector<double>&, const boost::numeric::ublas::matrix<int>&, const boost::numeric::ublas::vector<double>&, const ir::NormalProcessPrior&, boost::numeric::ublas::matrix<double>&, boost::numeric::ublas::vector<double>&) [with Prior = ir::CoxPrior<ir::ConstValuePrior, ir::NormalProcessPrior>; Par = ir::DynamicCoxPar; Size = long unsigned int]’:
DynamicCoxModel.h:136:23:   required from ‘void ir::DynamicCoxModel<Prior>::gibbsKernel(const Prior&, ir::DynamicCoxPar&) [with Prior = ir::CoxPrior<ir::ConstValuePrior, ir::NormalProcessPrior>]’
GibbsSampler.h:94:21:   required from ‘void ir::GibbsSampler<M>::runGibbs(const Prior_type&, bool, Size) [with M = ir::DynamicCoxModel_v2<ir::CoxPrior<ir::ConstValuePrior, ir::NormalProcessPrior> >; Prior_type = ir::CoxPrior<ir::ConstValuePrior, ir::NormalProcessPrior>; Size = long unsigned int]’
bayesCox.cpp:297:18:   required from here
DynamicModel.h:355:11: warning: variable ‘err’ set but not used [-Wunused-but-set-variable]
  355 |       int err;
      |           ^~~
DynamicModel.h: In instantiation of ‘void ir::DynamicModel<Prior, Par>::sampleBeta(Size, const boost::numeric::ublas::matrix<int>&, const boost::numeric::ublas::matrix<double>&, const boost::numeric::ublas::vector<double>&, const boost::numeric::ublas::matrix<int>&, const boost::numeric::ublas::vector<double>&, const ir::NormalInvGammaProcessPrior&, boost::numeric::ublas::matrix<double>&, boost::numeric::ublas::vector<double>&) [with Prior = ir::CoxPrior<ir::ConstValuePrior, ir::NormalInvGammaProcessPrior>; Par = ir::DynamicCoxPar; Size = long unsigned int]’:
DynamicCoxModel.h:136:23:   required from ‘void ir::DynamicCoxModel<Prior>::gibbsKernel(const Prior&, ir::DynamicCoxPar&) [with Prior = ir::CoxPrior<ir::ConstValuePrior, ir::NormalInvGammaProcessPrior>]’
GibbsSampler.h:94:21:   required from ‘void ir::GibbsSampler<M>::runGibbs(const Prior_type&, bool, Size) [with M = ir::DynamicCoxModel_v2<ir::CoxPrior<ir::ConstValuePrior, ir::NormalInvGammaProcessPrior> >; Prior_type = ir::CoxPrior<ir::ConstValuePrior, ir::NormalInvGammaProcessPrior>; Size = long unsigned int]’
bayesCox.cpp:329:18:   required from here
DynamicModel.h:452:11: warning: variable ‘err’ set but not used [-Wunused-but-set-variable]
  452 |       int err;
      |           ^~~
DynamicModel.h: In instantiation of ‘void ir::DynamicModel<Prior, Par>::sampleBeta(Size, const boost::numeric::ublas::matrix<int>&, const boost::numeric::ublas::matrix<double>&, const boost::numeric::ublas::vector<double>&, const boost::numeric::ublas::matrix<int>&, const boost::numeric::ublas::vector<double>&, const ir::NormalProcessPrior&, boost::numeric::ublas::matrix<double>&, boost::numeric::ublas::vector<double>&) [with Prior = ir::CoxPrior<ir::GammaProcessPrior, ir::NormalProcessPrior>; Par = ir::DynamicCoxPar; Size = long unsigned int]’:
DynamicCoxModel.h:136:23:   required from ‘void ir::DynamicCoxModel<Prior>::gibbsKernel(const Prior&, ir::DynamicCoxPar&) [with Prior = ir::CoxPrior<ir::GammaProcessPrior, ir::NormalProcessPrior>]’
GibbsSampler.h:94:21:   required from ‘void ir::GibbsSampler<M>::runGibbs(const Prior_type&, bool, Size) [with M = ir::DynamicCoxModel<ir::CoxPrior<ir::GammaProcessPrior, ir::NormalProcessPrior> >; Prior_type = ir::CoxPrior<ir::GammaProcessPrior, ir::NormalProcessPrior>; Size = long unsigned int]’
bayesCox.cpp:364:18:   required from here
DynamicModel.h:355:11: warning: variable ‘err’ set but not used [-Wunused-but-set-variable]
  355 |       int err;
      |           ^~~
DynamicModel.h: In instantiation of ‘void ir::DynamicModel<Prior, Par>::sampleBeta(Size, const boost::numeric::ublas::matrix<int>&, const boost::numeric::ublas::matrix<double>&, const boost::numeric::ublas::vector<double>&, const boost::numeric::ublas::matrix<int>&, const boost::numeric::ublas::vector<double>&, const ir::NormalInvGammaProcessPrior&, boost::numeric::ublas::matrix<double>&, boost::numeric::ublas::vector<double>&) [with Prior = ir::CoxPrior<ir::GammaProcessPrior, ir::NormalInvGammaProcessPrior>; Par = ir::DynamicCoxPar; Size = long unsigned int]’:
DynamicCoxModel.h:136:23:   required from ‘void ir::DynamicCoxModel<Prior>::gibbsKernel(const Prior&, ir::DynamicCoxPar&) [with Prior = ir::CoxPrior<ir::GammaProcessPrior, ir::NormalInvGammaProcessPrior>]’
GibbsSampler.h:94:21:   required from ‘void ir::GibbsSampler<M>::runGibbs(const Prior_type&, bool, Size) [with M = ir::DynamicCoxModel<ir::CoxPrior<ir::GammaProcessPrior, ir::NormalInvGammaProcessPrior> >; Prior_type = ir::CoxPrior<ir::GammaProcessPrior, ir::NormalInvGammaProcessPrior>; Size = long unsigned int]’
bayesCox.cpp:397:18:   required from here
DynamicModel.h:452:11: warning: variable ‘err’ set but not used [-Wunused-but-set-variable]
  452 |       int err;
      |           ^~~
In file included from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/smart_ptr/detail/sp_counted_impl.hpp:27,
                 from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/smart_ptr/detail/shared_count.hpp:27,
                 from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/smart_ptr/shared_ptr.hpp:18,
                 from IntRegModel.h:18,
                 from TimeIndepModel.h:15:
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/core/checked_delete.hpp: In instantiation of ‘void boost::checked_delete(T*) [with T = ir::TimeIndepCoxModel<ir::CoxPrior<ir::GammaPrior, ir::NormalPrior> >]’:
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/smart_ptr/detail/shared_count.hpp:154:34:   required from ‘boost::detail::shared_count::shared_count(Y*) [with Y = ir::TimeIndepCoxModel<ir::CoxPrior<ir::GammaPrior, ir::NormalPrior> >]’
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/smart_ptr/shared_ptr.hpp:280:20:   required from ‘void boost::detail::sp_pointer_construct(boost::shared_ptr<X>*, Y*, shared_count&) [with T = ir::TimeIndepCoxModel<ir::CoxPrior<ir::GammaPrior, ir::NormalPrior> >; Y = ir::TimeIndepCoxModel<ir::CoxPrior<ir::GammaPrior, ir::NormalPrior> >]’
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/smart_ptr/shared_ptr.hpp:374:44:   required from ‘boost::shared_ptr<T>::shared_ptr(Y*) [with Y = ir::TimeIndepCoxModel<ir::CoxPrior<ir::GammaPrior, ir::NormalPrior> >; T = ir::TimeIndepCoxModel<ir::CoxPrior<ir::GammaPrior, ir::NormalPrior> >]’
bayesCox.cpp:48:40:   required from here
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/core/checked_delete.hpp:44:5: warning: deleting object of polymorphic class type ‘ir::TimeIndepCoxModel<ir::CoxPrior<ir::GammaPrior, ir::NormalPrior> >’ which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor]
   44 |     delete x;
      |     ^~~~~~~~
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/core/checked_delete.hpp: In instantiation of ‘void boost::checked_delete(T*) [with T = ir::TimeIndepCoxModel<ir::CoxPrior<ir::GammaProcessPrior, ir::NormalPrior> >]’:
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/smart_ptr/detail/shared_count.hpp:154:34:   required from ‘boost::detail::shared_count::shared_count(Y*) [with Y = ir::TimeIndepCoxModel<ir::CoxPrior<ir::GammaProcessPrior, ir::NormalPrior> >]’
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/smart_ptr/shared_ptr.hpp:280:20:   required from ‘void boost::detail::sp_pointer_construct(boost::shared_ptr<X>*, Y*, shared_count&) [with T = ir::TimeIndepCoxModel<ir::CoxPrior<ir::GammaProcessPrior, ir::NormalPrior> >; Y = ir::TimeIndepCoxModel<ir::CoxPrior<ir::GammaProcessPrior, ir::NormalPrior> >]’
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/smart_ptr/shared_ptr.hpp:374:44:   required from ‘boost::shared_ptr<T>::shared_ptr(Y*) [with Y = ir::TimeIndepCoxModel<ir::CoxPrior<ir::GammaProcessPrior, ir::NormalPrior> >; T = ir::TimeIndepCoxModel<ir::CoxPrior<ir::GammaProcessPrior, ir::NormalPrior> >]’
bayesCox.cpp:76:40:   required from here
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/core/checked_delete.hpp:44:5: warning: deleting object of polymorphic class type ‘ir::TimeIndepCoxModel<ir::CoxPrior<ir::GammaProcessPrior, ir::NormalPrior> >’ which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor]
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/core/checked_delete.hpp: In instantiation of ‘void boost::checked_delete(T*) [with T = ir::TimeVaryingCoxModel<ir::CoxPrior<ir::GammaPrior, ir::NormalProcessPrior> >]’:
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/smart_ptr/detail/shared_count.hpp:154:34:   required from ‘boost::detail::shared_count::shared_count(Y*) [with Y = ir::TimeVaryingCoxModel<ir::CoxPrior<ir::GammaPrior, ir::NormalProcessPrior> >]’
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/smart_ptr/shared_ptr.hpp:280:20:   required from ‘void boost::detail::sp_pointer_construct(boost::shared_ptr<X>*, Y*, shared_count&) [with T = ir::TimeVaryingCoxModel<ir::CoxPrior<ir::GammaPrior, ir::NormalProcessPrior> >; Y = ir::TimeVaryingCoxModel<ir::CoxPrior<ir::GammaPrior, ir::NormalProcessPrior> >]’
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/smart_ptr/shared_ptr.hpp:374:44:   required from ‘boost::shared_ptr<T>::shared_ptr(Y*) [with Y = ir::TimeVaryingCoxModel<ir::CoxPrior<ir::GammaPrior, ir::NormalProcessPrior> >; T = ir::TimeVaryingCoxModel<ir::CoxPrior<ir::GammaPrior, ir::NormalProcessPrior> >]’
bayesCox.cpp:104:40:   required from here
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/core/checked_delete.hpp:44:5: warning: deleting object of polymorphic class type ‘ir::TimeVaryingCoxModel<ir::CoxPrior<ir::GammaPrior, ir::NormalProcessPrior> >’ which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor]
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/core/checked_delete.hpp: In instantiation of ‘void boost::checked_delete(T*) [with T = ir::TimeVaryingCoxModel<ir::CoxPrior<ir::GammaPrior, ir::NormalInvGammaProcessPrior> >]’:
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/smart_ptr/detail/shared_count.hpp:154:34:   required from ‘boost::detail::shared_count::shared_count(Y*) [with Y = ir::TimeVaryingCoxModel<ir::CoxPrior<ir::GammaPrior, ir::NormalInvGammaProcessPrior> >]’
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/smart_ptr/shared_ptr.hpp:280:20:   required from ‘void boost::detail::sp_pointer_construct(boost::shared_ptr<X>*, Y*, shared_count&) [with T = ir::TimeVaryingCoxModel<ir::CoxPrior<ir::GammaPrior, ir::NormalInvGammaProcessPrior> >; Y = ir::TimeVaryingCoxModel<ir::CoxPrior<ir::GammaPrior, ir::NormalInvGammaProcessPrior> >]’
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/smart_ptr/shared_ptr.hpp:374:44:   required from ‘boost::shared_ptr<T>::shared_ptr(Y*) [with Y = ir::TimeVaryingCoxModel<ir::CoxPrior<ir::GammaPrior, ir::NormalInvGammaProcessPrior> >; T = ir::TimeVaryingCoxModel<ir::CoxPrior<ir::GammaPrior, ir::NormalInvGammaProcessPrior> >]’
bayesCox.cpp:133:40:   required from here
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/core/checked_delete.hpp:44:5: warning: deleting object of polymorphic class type ‘ir::TimeVaryingCoxModel<ir::CoxPrior<ir::GammaPrior, ir::NormalInvGammaProcessPrior> >’ which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor]
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/core/checked_delete.hpp: In instantiation of ‘void boost::checked_delete(T*) [with T = ir::TimeVaryingCoxModel<ir::CoxPrior<ir::GammaProcessPrior, ir::NormalProcessPrior> >]’:
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/smart_ptr/detail/shared_count.hpp:154:34:   required from ‘boost::detail::shared_count::shared_count(Y*) [with Y = ir::TimeVaryingCoxModel<ir::CoxPrior<ir::GammaProcessPrior, ir::NormalProcessPrior> >]’
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/smart_ptr/shared_ptr.hpp:280:20:   required from ‘void boost::detail::sp_pointer_construct(boost::shared_ptr<X>*, Y*, shared_count&) [with T = ir::TimeVaryingCoxModel<ir::CoxPrior<ir::GammaProcessPrior, ir::NormalProcessPrior> >; Y = ir::TimeVaryingCoxModel<ir::CoxPrior<ir::GammaProcessPrior, ir::NormalProcessPrior> >]’
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/smart_ptr/shared_ptr.hpp:374:44:   required from ‘boost::shared_ptr<T>::shared_ptr(Y*) [with Y = ir::TimeVaryingCoxModel<ir::CoxPrior<ir::GammaProcessPrior, ir::NormalProcessPrior> >; T = ir::TimeVaryingCoxModel<ir::CoxPrior<ir::GammaProcessPrior, ir::NormalProcessPrior> >]’
bayesCox.cpp:164:40:   required from here
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/core/checked_delete.hpp:44:5: warning: deleting object of polymorphic class type ‘ir::TimeVaryingCoxModel<ir::CoxPrior<ir::GammaProcessPrior, ir::NormalProcessPrior> >’ which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor]
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/core/checked_delete.hpp: In instantiation of ‘void boost::checked_delete(T*) [with T = ir::TimeVaryingCoxModel<ir::CoxPrior<ir::GammaProcessPrior, ir::NormalInvGammaProcessPrior> >]’:
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/smart_ptr/detail/shared_count.hpp:154:34:   required from ‘boost::detail::shared_count::shared_count(Y*) [with Y = ir::TimeVaryingCoxModel<ir::CoxPrior<ir::GammaProcessPrior, ir::NormalInvGammaProcessPrior> >]’
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/smart_ptr/shared_ptr.hpp:280:20:   required from ‘void boost::detail::sp_pointer_construct(boost::shared_ptr<X>*, Y*, shared_count&) [with T = ir::TimeVaryingCoxModel<ir::CoxPrior<ir::GammaProcessPrior, ir::NormalInvGammaProcessPrior> >; Y = ir::TimeVaryingCoxModel<ir::CoxPrior<ir::GammaProcessPrior, ir::NormalInvGammaProcessPrior> >]’
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/smart_ptr/shared_ptr.hpp:374:44:   required from ‘boost::shared_ptr<T>::shared_ptr(Y*) [with Y = ir::TimeVaryingCoxModel<ir::CoxPrior<ir::GammaProcessPrior, ir::NormalInvGammaProcessPrior> >; T = ir::TimeVaryingCoxModel<ir::CoxPrior<ir::GammaProcessPrior, ir::NormalInvGammaProcessPrior> >]’
bayesCox.cpp:193:40:   required from here
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/core/checked_delete.hpp:44:5: warning: deleting object of polymorphic class type ‘ir::TimeVaryingCoxModel<ir::CoxPrior<ir::GammaProcessPrior, ir::NormalInvGammaProcessPrior> >’ which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor]
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/core/checked_delete.hpp: In instantiation of ‘void boost::checked_delete(T*) [with T = ir::DynamicCoxModel<ir::CoxPrior<ir::GammaPrior, ir::NormalProcessPrior> >]’:
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/smart_ptr/detail/shared_count.hpp:154:34:   required from ‘boost::detail::shared_count::shared_count(Y*) [with Y = ir::DynamicCoxModel<ir::CoxPrior<ir::GammaPrior, ir::NormalProcessPrior> >]’
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/smart_ptr/shared_ptr.hpp:280:20:   required from ‘void boost::detail::sp_pointer_construct(boost::shared_ptr<X>*, Y*, shared_count&) [with T = ir::DynamicCoxModel<ir::CoxPrior<ir::GammaPrior, ir::NormalProcessPrior> >; Y = ir::DynamicCoxModel<ir::CoxPrior<ir::GammaPrior, ir::NormalProcessPrior> >]’
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/smart_ptr/shared_ptr.hpp:374:44:   required from ‘boost::shared_ptr<T>::shared_ptr(Y*) [with Y = ir::DynamicCoxModel<ir::CoxPrior<ir::GammaPrior, ir::NormalProcessPrior> >; T = ir::DynamicCoxModel<ir::CoxPrior<ir::GammaPrior, ir::NormalProcessPrior> >]’
bayesCox.cpp:224:40:   required from here
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/core/checked_delete.hpp:44:5: warning: deleting object of polymorphic class type ‘ir::DynamicCoxModel<ir::CoxPrior<ir::GammaPrior, ir::NormalProcessPrior> >’ which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor]
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/core/checked_delete.hpp: In instantiation of ‘void boost::checked_delete(T*) [with T = ir::DynamicCoxModel<ir::CoxPrior<ir::GammaPrior, ir::NormalInvGammaProcessPrior> >]’:
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/smart_ptr/detail/shared_count.hpp:154:34:   required from ‘boost::detail::shared_count::shared_count(Y*) [with Y = ir::DynamicCoxModel<ir::CoxPrior<ir::GammaPrior, ir::NormalInvGammaProcessPrior> >]’
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/smart_ptr/shared_ptr.hpp:280:20:   required from ‘void boost::detail::sp_pointer_construct(boost::shared_ptr<X>*, Y*, shared_count&) [with T = ir::DynamicCoxModel<ir::CoxPrior<ir::GammaPrior, ir::NormalInvGammaProcessPrior> >; Y = ir::DynamicCoxModel<ir::CoxPrior<ir::GammaPrior, ir::NormalInvGammaProcessPrior> >]’
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/smart_ptr/shared_ptr.hpp:374:44:   required from ‘boost::shared_ptr<T>::shared_ptr(Y*) [with Y = ir::DynamicCoxModel<ir::CoxPrior<ir::GammaPrior, ir::NormalInvGammaProcessPrior> >; T = ir::DynamicCoxModel<ir::CoxPrior<ir::GammaPrior, ir::NormalInvGammaProcessPrior> >]’
bayesCox.cpp:257:40:   required from here
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/core/checked_delete.hpp:44:5: warning: deleting object of polymorphic class type ‘ir::DynamicCoxModel<ir::CoxPrior<ir::GammaPrior, ir::NormalInvGammaProcessPrior> >’ which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor]
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/core/checked_delete.hpp: In instantiation of ‘void boost::checked_delete(T*) [with T = ir::DynamicCoxModel_v2<ir::CoxPrior<ir::ConstValuePrior, ir::NormalProcessPrior> >]’:
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/smart_ptr/detail/shared_count.hpp:154:34:   required from ‘boost::detail::shared_count::shared_count(Y*) [with Y = ir::DynamicCoxModel_v2<ir::CoxPrior<ir::ConstValuePrior, ir::NormalProcessPrior> >]’
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/smart_ptr/shared_ptr.hpp:280:20:   required from ‘void boost::detail::sp_pointer_construct(boost::shared_ptr<X>*, Y*, shared_count&) [with T = ir::DynamicCoxModel_v2<ir::CoxPrior<ir::ConstValuePrior, ir::NormalProcessPrior> >; Y = ir::DynamicCoxModel_v2<ir::CoxPrior<ir::ConstValuePrior, ir::NormalProcessPrior> >]’
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/smart_ptr/shared_ptr.hpp:374:44:   required from ‘boost::shared_ptr<T>::shared_ptr(Y*) [with Y = ir::DynamicCoxModel_v2<ir::CoxPrior<ir::ConstValuePrior, ir::NormalProcessPrior> >; T = ir::DynamicCoxModel_v2<ir::CoxPrior<ir::ConstValuePrior, ir::NormalProcessPrior> >]’
bayesCox.cpp:292:40:   required from here
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/core/checked_delete.hpp:44:5: warning: deleting object of polymorphic class type ‘ir::DynamicCoxModel_v2<ir::CoxPrior<ir::ConstValuePrior, ir::NormalProcessPrior> >’ which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor]
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/core/checked_delete.hpp: In instantiation of ‘void boost::checked_delete(T*) [with T = ir::DynamicCoxModel_v2<ir::CoxPrior<ir::ConstValuePrior, ir::NormalInvGammaProcessPrior> >]’:
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/smart_ptr/detail/shared_count.hpp:154:34:   required from ‘boost::detail::shared_count::shared_count(Y*) [with Y = ir::DynamicCoxModel_v2<ir::CoxPrior<ir::ConstValuePrior, ir::NormalInvGammaProcessPrior> >]’
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/smart_ptr/shared_ptr.hpp:280:20:   required from ‘void boost::detail::sp_pointer_construct(boost::shared_ptr<X>*, Y*, shared_count&) [with T = ir::DynamicCoxModel_v2<ir::CoxPrior<ir::ConstValuePrior, ir::NormalInvGammaProcessPrior> >; Y = ir::DynamicCoxModel_v2<ir::CoxPrior<ir::ConstValuePrior, ir::NormalInvGammaProcessPrior> >]’
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/smart_ptr/shared_ptr.hpp:374:44:   required from ‘boost::shared_ptr<T>::shared_ptr(Y*) [with Y = ir::DynamicCoxModel_v2<ir::CoxPrior<ir::ConstValuePrior, ir::NormalInvGammaProcessPrior> >; T = ir::DynamicCoxModel_v2<ir::CoxPrior<ir::ConstValuePrior, ir::NormalInvGammaProcessPrior> >]’
bayesCox.cpp:324:40:   required from here
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/core/checked_delete.hpp:44:5: warning: deleting object of polymorphic class type ‘ir::DynamicCoxModel_v2<ir::CoxPrior<ir::ConstValuePrior, ir::NormalInvGammaProcessPrior> >’ which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor]
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/core/checked_delete.hpp: In instantiation of ‘void boost::checked_delete(T*) [with T = ir::DynamicCoxModel<ir::CoxPrior<ir::GammaProcessPrior, ir::NormalProcessPrior> >]’:
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/smart_ptr/detail/shared_count.hpp:154:34:   required from ‘boost::detail::shared_count::shared_count(Y*) [with Y = ir::DynamicCoxModel<ir::CoxPrior<ir::GammaProcessPrior, ir::NormalProcessPrior> >]’
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/smart_ptr/shared_ptr.hpp:280:20:   required from ‘void boost::detail::sp_pointer_construct(boost::shared_ptr<X>*, Y*, shared_count&) [with T = ir::DynamicCoxModel<ir::CoxPrior<ir::GammaProcessPrior, ir::NormalProcessPrior> >; Y = ir::DynamicCoxModel<ir::CoxPrior<ir::GammaProcessPrior, ir::NormalProcessPrior> >]’
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/smart_ptr/shared_ptr.hpp:374:44:   required from ‘boost::shared_ptr<T>::shared_ptr(Y*) [with Y = ir::DynamicCoxModel<ir::CoxPrior<ir::GammaProcessPrior, ir::NormalProcessPrior> >; T = ir::DynamicCoxModel<ir::CoxPrior<ir::GammaProcessPrior, ir::NormalProcessPrior> >]’
bayesCox.cpp:359:40:   required from here
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/core/checked_delete.hpp:44:5: warning: deleting object of polymorphic class type ‘ir::DynamicCoxModel<ir::CoxPrior<ir::GammaProcessPrior, ir::NormalProcessPrior> >’ which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor]
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/core/checked_delete.hpp: In instantiation of ‘void boost::checked_delete(T*) [with T = ir::DynamicCoxModel<ir::CoxPrior<ir::GammaProcessPrior, ir::NormalInvGammaProcessPrior> >]’:
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/smart_ptr/detail/shared_count.hpp:154:34:   required from ‘boost::detail::shared_count::shared_count(Y*) [with Y = ir::DynamicCoxModel<ir::CoxPrior<ir::GammaProcessPrior, ir::NormalInvGammaProcessPrior> >]’
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/smart_ptr/shared_ptr.hpp:280:20:   required from ‘void boost::detail::sp_pointer_construct(boost::shared_ptr<X>*, Y*, shared_count&) [with T = ir::DynamicCoxModel<ir::CoxPrior<ir::GammaProcessPrior, ir::NormalInvGammaProcessPrior> >; Y = ir::DynamicCoxModel<ir::CoxPrior<ir::GammaProcessPrior, ir::NormalInvGammaProcessPrior> >]’
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/smart_ptr/shared_ptr.hpp:374:44:   required from ‘boost::shared_ptr<T>::shared_ptr(Y*) [with Y = ir::DynamicCoxModel<ir::CoxPrior<ir::GammaProcessPrior, ir::NormalInvGammaProcessPrior> >; T = ir::DynamicCoxModel<ir::CoxPrior<ir::GammaProcessPrior, ir::NormalInvGammaProcessPrior> >]’
bayesCox.cpp:392:40:   required from here
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/core/checked_delete.hpp:44:5: warning: deleting object of polymorphic class type ‘ir::DynamicCoxModel<ir::CoxPrior<ir::GammaProcessPrior, ir::NormalInvGammaProcessPrior> >’ which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor]
gcc-13 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -DNDEBUG -DBOOST_NO_AUTO_PTR -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c dynsurv_init.c -o dynsurv_init.o
g++-13 -std=gnu++17 -shared -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -Wl,-O1 -o dynsurv.so IntRegPar.o arms.o bayesCox.o dynsurv_init.o -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -lR
make[1]: Leaving directory '/tmp/RtmpGI4aj8/R.INSTALL336458440ddebc/dynsurv/src'
make[1]: Entering directory '/tmp/RtmpGI4aj8/R.INSTALL336458440ddebc/dynsurv/src'
make[1]: Leaving directory '/tmp/RtmpGI4aj8/R.INSTALL336458440ddebc/dynsurv/src'
installing to /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/00LOCK-dynsurv/00new/dynsurv/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 ‘dynsurv’
    finding HTML links ... done
    bayesCox                                html  
    bayesCoxMcmc                            html  
    bcos                                    html  
    coef.bayesCox                           html  
    coef.splineCox                          html  
    coef.tvTran                             html  
    dynsurv                                 html  
    is.bayesCox                             html  
    jump                                    html  
    nu                                      html  
    plotCoef                                html  
    plotJump                                html  
    plotNu                                  html  
    plotSurv                                html  
    reexports                               html  
    splineCox                               html  
    survCurve                               html  
    survDiff                                html  
    tooth                                   html  
    tvTran                                  html  
** building package indices
** 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 (dynsurv)