* installing to library ‘/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages’
* installing *source* package ‘dynsurv’ ...
** this is package ‘dynsurv’ version ‘0.4-7’
** package ‘dynsurv’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C compiler: ‘gcc-14 (Debian 14.3.0-10) 14.3.0’
using C++ compiler: ‘g++-14 (Debian 14.3.0-10) 14.3.0’
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpSMhsxm/R.INSTALLced0b2a9ca2cf/dynsurv/src'
g++-14 -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 | );
| ~
| -
gcc-14 -std=gnu23 -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: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++-14 -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 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>]’
78 | this->sampleBeta(par.lambda, dNMat, YMat, omega, prior.coef_prior, par.beta);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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]’
94 | pm_->gibbsKernel(prior, par);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~
bayesCox.cpp:51:18: required from here
51 | gs.runGibbs(prior, static_cast<bool>(p_verbose[0]), p_nReport[0]);
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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>]’
78 | this->sampleBeta(par.lambda, dNMat, YMat, omega, prior.coef_prior, par.beta);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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]’
94 | pm_->gibbsKernel(prior, par);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~
bayesCox.cpp:79:18: required from here
79 | gs.runGibbs(prior, static_cast<bool>(p_verbose[0]), p_nReport[0]);
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
TimeIndepModel.h:65:7: warning: variable ‘err’ set but not used [-Wunused-but-set-variable]
65 | int err;
| ^~~
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>]’
78 | this->sampleBeta(par.lambda, dNMat, YMat, omega, prior.coef_prior, par.beta, par.nu);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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]’
94 | pm_->gibbsKernel(prior, par);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~
bayesCox.cpp:108:18: required from here
108 | gs.runGibbs(prior, static_cast<bool>(p_verbose[0]), p_nReport[0]);
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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>]’
78 | this->sampleBeta(par.lambda, dNMat, YMat, omega, prior.coef_prior, par.beta, par.nu);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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]’
94 | pm_->gibbsKernel(prior, par);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~
bayesCox.cpp:137:18: required from here
137 | gs.runGibbs(prior, static_cast<bool>(p_verbose[0]), p_nReport[0]);
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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>]’
78 | this->sampleBeta(par.lambda, dNMat, YMat, omega, prior.coef_prior, par.beta, par.nu);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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]’
94 | pm_->gibbsKernel(prior, par);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~
bayesCox.cpp:168:18: required from here
168 | gs.runGibbs(prior, static_cast<bool>(p_verbose[0]), p_nReport[0]);
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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>]’
78 | this->sampleBeta(par.lambda, dNMat, YMat, omega, prior.coef_prior, par.beta, par.nu);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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]’
94 | pm_->gibbsKernel(prior, par);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~
bayesCox.cpp:197:18: required from here
197 | gs.runGibbs(prior, static_cast<bool>(p_verbose[0]), p_nReport[0]);
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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>]’
136 | this->sampleBeta(j, dNMat, YMat, par.lambda, par.jump, omega,
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
137 | prior.coef_prior, par.beta, par.nu);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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]’
94 | pm_->gibbsKernel(prior, par);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~
bayesCox.cpp:229:18: required from here
229 | gs.runGibbs(prior, static_cast<bool>(p_verbose[0]), p_nReport[0]);
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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>]’
136 | this->sampleBeta(j, dNMat, YMat, par.lambda, par.jump, omega,
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
137 | prior.coef_prior, par.beta, par.nu);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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]’
94 | pm_->gibbsKernel(prior, par);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~
bayesCox.cpp:262:18: required from here
262 | gs.runGibbs(prior, static_cast<bool>(p_verbose[0]), p_nReport[0]);
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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>]’
136 | this->sampleBeta(j, dNMat, YMat, par.lambda, par.jump, omega,
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
137 | prior.coef_prior, par.beta, par.nu);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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]’
94 | pm_->gibbsKernel(prior, par);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~
bayesCox.cpp:297:18: required from here
297 | gs.runGibbs(prior, static_cast<bool>(p_verbose[0]), p_nReport[0]);
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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>]’
136 | this->sampleBeta(j, dNMat, YMat, par.lambda, par.jump, omega,
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
137 | prior.coef_prior, par.beta, par.nu);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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]’
94 | pm_->gibbsKernel(prior, par);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~
bayesCox.cpp:329:18: required from here
329 | gs.runGibbs(prior, static_cast<bool>(p_verbose[0]), p_nReport[0]);
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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>]’
136 | this->sampleBeta(j, dNMat, YMat, par.lambda, par.jump, omega,
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
137 | prior.coef_prior, par.beta, par.nu);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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]’
94 | pm_->gibbsKernel(prior, par);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~
bayesCox.cpp:364:18: required from here
364 | gs.runGibbs(prior, static_cast<bool>(p_verbose[0]), p_nReport[0]);
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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>]’
136 | this->sampleBeta(j, dNMat, YMat, par.lambda, par.jump, omega,
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
137 | prior.coef_prior, par.beta, par.nu);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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]’
94 | pm_->gibbsKernel(prior, par);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~
bayesCox.cpp:397:18: required from here
397 | gs.runGibbs(prior, static_cast<bool>(p_verbose[0]), p_nReport[0]);
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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:23,
from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/smart_ptr/shared_ptr.hpp:17,
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:150:34: required from ‘boost::detail::shared_count::shared_count(Y*) [with Y = ir::TimeIndepCoxModel<ir::CoxPrior<ir::GammaPrior, ir::NormalPrior> >]’
150 | boost::checked_delete( p );
| ~~~~~~~~~~~~~~~~~~~~~^~~~~
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/smart_ptr/shared_ptr.hpp:205: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> >]’
205 | boost::detail::shared_count( p ).swap( pn );
| ^~~~~~~~~~~~~~~~~
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/smart_ptr/shared_ptr.hpp:283: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> >]’
283 | boost::detail::sp_pointer_construct( this, p, pn );
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
bayesCox.cpp:48:40: required from here
48 | boost::shared_ptr<M> pm(new M(pd));
| ^
/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:150:34: required from ‘boost::detail::shared_count::shared_count(Y*) [with Y = ir::TimeIndepCoxModel<ir::CoxPrior<ir::GammaProcessPrior, ir::NormalPrior> >]’
150 | boost::checked_delete( p );
| ~~~~~~~~~~~~~~~~~~~~~^~~~~
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/smart_ptr/shared_ptr.hpp:205: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> >]’
205 | boost::detail::shared_count( p ).swap( pn );
| ^~~~~~~~~~~~~~~~~
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/smart_ptr/shared_ptr.hpp:283: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> >]’
283 | boost::detail::sp_pointer_construct( this, p, pn );
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
bayesCox.cpp:76:40: required from here
76 | boost::shared_ptr<M> pm(new M(pd));
| ^
/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]
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::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:150:34: required from ‘boost::detail::shared_count::shared_count(Y*) [with Y = ir::TimeVaryingCoxModel<ir::CoxPrior<ir::GammaPrior, ir::NormalProcessPrior> >]’
150 | boost::checked_delete( p );
| ~~~~~~~~~~~~~~~~~~~~~^~~~~
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/smart_ptr/shared_ptr.hpp:205: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> >]’
205 | boost::detail::shared_count( p ).swap( pn );
| ^~~~~~~~~~~~~~~~~
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/smart_ptr/shared_ptr.hpp:283: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> >]’
283 | boost::detail::sp_pointer_construct( this, p, pn );
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
bayesCox.cpp:104:40: required from here
104 | boost::shared_ptr<M> pm(new M(pd));
| ^
/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]
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::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:150:34: required from ‘boost::detail::shared_count::shared_count(Y*) [with Y = ir::TimeVaryingCoxModel<ir::CoxPrior<ir::GammaPrior, ir::NormalInvGammaProcessPrior> >]’
150 | boost::checked_delete( p );
| ~~~~~~~~~~~~~~~~~~~~~^~~~~
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/smart_ptr/shared_ptr.hpp:205: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> >]’
205 | boost::detail::shared_count( p ).swap( pn );
| ^~~~~~~~~~~~~~~~~
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/smart_ptr/shared_ptr.hpp:283: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> >]’
283 | boost::detail::sp_pointer_construct( this, p, pn );
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
bayesCox.cpp:133:40: required from here
133 | boost::shared_ptr<M> pm(new M(pd));
| ^
/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]
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::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:150:34: required from ‘boost::detail::shared_count::shared_count(Y*) [with Y = ir::TimeVaryingCoxModel<ir::CoxPrior<ir::GammaProcessPrior, ir::NormalProcessPrior> >]’
150 | boost::checked_delete( p );
| ~~~~~~~~~~~~~~~~~~~~~^~~~~
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/smart_ptr/shared_ptr.hpp:205: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> >]’
205 | boost::detail::shared_count( p ).swap( pn );
| ^~~~~~~~~~~~~~~~~
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/smart_ptr/shared_ptr.hpp:283: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> >]’
283 | boost::detail::sp_pointer_construct( this, p, pn );
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
bayesCox.cpp:164:40: required from here
164 | boost::shared_ptr<M> pm(new M(pd));
| ^
/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]
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::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:150:34: required from ‘boost::detail::shared_count::shared_count(Y*) [with Y = ir::TimeVaryingCoxModel<ir::CoxPrior<ir::GammaProcessPrior, ir::NormalInvGammaProcessPrior> >]’
150 | boost::checked_delete( p );
| ~~~~~~~~~~~~~~~~~~~~~^~~~~
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/smart_ptr/shared_ptr.hpp:205: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> >]’
205 | boost::detail::shared_count( p ).swap( pn );
| ^~~~~~~~~~~~~~~~~
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/smart_ptr/shared_ptr.hpp:283: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> >]’
283 | boost::detail::sp_pointer_construct( this, p, pn );
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
bayesCox.cpp:193:40: required from here
193 | boost::shared_ptr<M> pm(new M(pd));
| ^
/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]
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::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:150:34: required from ‘boost::detail::shared_count::shared_count(Y*) [with Y = ir::DynamicCoxModel<ir::CoxPrior<ir::GammaPrior, ir::NormalProcessPrior> >]’
150 | boost::checked_delete( p );
| ~~~~~~~~~~~~~~~~~~~~~^~~~~
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/smart_ptr/shared_ptr.hpp:205: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> >]’
205 | boost::detail::shared_count( p ).swap( pn );
| ^~~~~~~~~~~~~~~~~
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/smart_ptr/shared_ptr.hpp:283: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> >]’
283 | boost::detail::sp_pointer_construct( this, p, pn );
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
bayesCox.cpp:224:40: required from here
224 | boost::shared_ptr<M> pm(new M(pd));
| ^
/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]
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::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:150:34: required from ‘boost::detail::shared_count::shared_count(Y*) [with Y = ir::DynamicCoxModel<ir::CoxPrior<ir::GammaPrior, ir::NormalInvGammaProcessPrior> >]’
150 | boost::checked_delete( p );
| ~~~~~~~~~~~~~~~~~~~~~^~~~~
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/smart_ptr/shared_ptr.hpp:205: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> >]’
205 | boost::detail::shared_count( p ).swap( pn );
| ^~~~~~~~~~~~~~~~~
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/smart_ptr/shared_ptr.hpp:283: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> >]’
283 | boost::detail::sp_pointer_construct( this, p, pn );
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
bayesCox.cpp:257:40: required from here
257 | boost::shared_ptr<M> pm(new M(pd));
| ^
/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]
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::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:150:34: required from ‘boost::detail::shared_count::shared_count(Y*) [with Y = ir::DynamicCoxModel_v2<ir::CoxPrior<ir::ConstValuePrior, ir::NormalProcessPrior> >]’
150 | boost::checked_delete( p );
| ~~~~~~~~~~~~~~~~~~~~~^~~~~
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/smart_ptr/shared_ptr.hpp:205: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> >]’
205 | boost::detail::shared_count( p ).swap( pn );
| ^~~~~~~~~~~~~~~~~
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/smart_ptr/shared_ptr.hpp:283: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> >]’
283 | boost::detail::sp_pointer_construct( this, p, pn );
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
bayesCox.cpp:292:40: required from here
292 | boost::shared_ptr<M> pm(new M(pd));
| ^
/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]
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::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:150:34: required from ‘boost::detail::shared_count::shared_count(Y*) [with Y = ir::DynamicCoxModel_v2<ir::CoxPrior<ir::ConstValuePrior, ir::NormalInvGammaProcessPrior> >]’
150 | boost::checked_delete( p );
| ~~~~~~~~~~~~~~~~~~~~~^~~~~
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/smart_ptr/shared_ptr.hpp:205: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> >]’
205 | boost::detail::shared_count( p ).swap( pn );
| ^~~~~~~~~~~~~~~~~
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/smart_ptr/shared_ptr.hpp:283: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> >]’
283 | boost::detail::sp_pointer_construct( this, p, pn );
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
bayesCox.cpp:324:40: required from here
324 | boost::shared_ptr<M> pm(new M(pd));
| ^
/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]
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::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:150:34: required from ‘boost::detail::shared_count::shared_count(Y*) [with Y = ir::DynamicCoxModel<ir::CoxPrior<ir::GammaProcessPrior, ir::NormalProcessPrior> >]’
150 | boost::checked_delete( p );
| ~~~~~~~~~~~~~~~~~~~~~^~~~~
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/smart_ptr/shared_ptr.hpp:205: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> >]’
205 | boost::detail::shared_count( p ).swap( pn );
| ^~~~~~~~~~~~~~~~~
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/smart_ptr/shared_ptr.hpp:283: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> >]’
283 | boost::detail::sp_pointer_construct( this, p, pn );
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
bayesCox.cpp:359:40: required from here
359 | boost::shared_ptr<M> pm(new M(pd));
| ^
/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]
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::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:150:34: required from ‘boost::detail::shared_count::shared_count(Y*) [with Y = ir::DynamicCoxModel<ir::CoxPrior<ir::GammaProcessPrior, ir::NormalInvGammaProcessPrior> >]’
150 | boost::checked_delete( p );
| ~~~~~~~~~~~~~~~~~~~~~^~~~~
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/smart_ptr/shared_ptr.hpp:205: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> >]’
205 | boost::detail::shared_count( p ).swap( pn );
| ^~~~~~~~~~~~~~~~~
/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/BH/include/boost/smart_ptr/shared_ptr.hpp:283: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> >]’
283 | boost::detail::sp_pointer_construct( this, p, pn );
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
bayesCox.cpp:392:40: required from here
392 | boost::shared_ptr<M> pm(new M(pd));
| ^
/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]
44 | delete x;
| ^~~~~~~~
gcc-14 -std=gnu23 -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++-14 -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 '/home/hornik/tmp/scratch/RtmpSMhsxm/R.INSTALLced0b2a9ca2cf/dynsurv/src'
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpSMhsxm/R.INSTALLced0b2a9ca2cf/dynsurv/src'
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpSMhsxm/R.INSTALLced0b2a9ca2cf/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)