* installing *source* package ‘BoomSpikeSlab’ ...
** this is package ‘BoomSpikeSlab’ version ‘1.2.7’
** package ‘BoomSpikeSlab’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘g++ (GCC) 15.1.1 20250521 (Red Hat 15.1.1-2)’
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-devel/BoomSpikeSlab/src'
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I`/data/gannet/ripley/R/R-devel/bin/Rscript -e "cat(system.file(package='Boom'))"`/include -DADD_ -DR_NO_REMAP -DRLANGUAGE -I'/data/gannet/ripley/R/test-dev/Boom/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c boom_spike_slab_init.cc -o boom_spike_slab_init.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I`/data/gannet/ripley/R/R-devel/bin/Rscript -e "cat(system.file(package='Boom'))"`/include -DADD_ -DR_NO_REMAP -DRLANGUAGE -I'/data/gannet/ripley/R/test-dev/Boom/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c logit_spike_slab_wrapper.cc -o logit_spike_slab_wrapper.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I`/data/gannet/ripley/R/R-devel/bin/Rscript -e "cat(system.file(package='Boom'))"`/include -DADD_ -DR_NO_REMAP -DRLANGUAGE -I'/data/gannet/ripley/R/test-dev/Boom/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c mlm_spike_slab_wrapper.cc -o mlm_spike_slab_wrapper.o
In file included from /data/gannet/ripley/R/test-dev/Boom/include/Models/DoubleModel.hpp:23,
from /data/gannet/ripley/R/test-dev/Boom/include/Models/GammaModel.hpp:24,
from /data/gannet/ripley/R/test-dev/Boom/include/Models/ChisqModel.hpp:21,
from /data/gannet/ripley/R/test-dev/Boom/include/r_interface/prior_specification.hpp:23,
from logit_spike_slab_wrapper.cc:11:
/data/gannet/ripley/R/test-dev/Boom/include/Models/ModelTypes.hpp:232:20: warning: ‘virtual double BOOM::LoglikeModel::log_likelihood() const’ was hidden [-Woverloaded-virtual=]
232 | virtual double log_likelihood() const {
| ^~~~~~~~~~~~~~
In file included from /data/gannet/ripley/R/test-dev/Boom/include/Models/IndependentMvnModel.hpp:24,
from /data/gannet/ripley/R/test-dev/Boom/include/r_interface/prior_specification.hpp:26:
/data/gannet/ripley/R/test-dev/Boom/include/Models/GaussianModelBase.hpp:163:19: note: by ‘static double BOOM::GaussianModelBase::log_likelihood(const BOOM::GaussianSuf&, double, double)’
163 | static double log_likelihood(const GaussianSuf &suf, double mu,
| ^~~~~~~~~~~~~~
/data/gannet/ripley/R/test-dev/Boom/include/Models/ModelTypes.hpp:332:20: warning: ‘virtual double BOOM::DirichletProcessMixtureComponent::log_likelihood() const’ was hidden [-Woverloaded-virtual=]
332 | virtual double log_likelihood() const = 0;
| ^~~~~~~~~~~~~~
/data/gannet/ripley/R/test-dev/Boom/include/Models/GaussianModelBase.hpp:163:19: note: by ‘static double BOOM::GaussianModelBase::log_likelihood(const BOOM::GaussianSuf&, double, double)’
163 | static double log_likelihood(const GaussianSuf &suf, double mu,
| ^~~~~~~~~~~~~~
In file included from /data/gannet/ripley/R/test-dev/Boom/include/Models/PosteriorSamplers/Imputer.hpp:31,
from /data/gannet/ripley/R/test-dev/Boom/include/Models/Glm/PosteriorSamplers/BinomialLogitAuxmixSampler.hpp:23,
from /data/gannet/ripley/R/test-dev/Boom/include/Models/Glm/PosteriorSamplers/BinomialLogitSpikeSlabSampler.hpp:23,
from /data/gannet/ripley/R/test-dev/Boom/include/Models/Glm/PosteriorSamplers/BinomialLogitCompositeSpikeSlabSampler.hpp:22,
from logit_spike_slab_wrapper.cc:17:
/data/gannet/ripley/R/test-dev/Boom/include/cpputil/ThreadTools.hpp: In member function ‘int BOOM::ThreadWorkerPool::number_of_joinable_threads() const’:
/data/gannet/ripley/R/test-dev/Boom/include/cpputil/ThreadTools.hpp:215:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::thread>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
215 | for (int i = 0; i < threads_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~
/data/gannet/ripley/R/test-dev/Boom/include/Models/PosteriorSamplers/Imputer.hpp: In member function ‘int BOOM::ParallelLatentDataImputer::number_of_observations_managed() const’:
/data/gannet/ripley/R/test-dev/Boom/include/Models/PosteriorSamplers/Imputer.hpp:218:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::LatentDataImputerWorker> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
218 | for (int i = 0; i < workers_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~
In file included from logit_spike_slab_wrapper.cc:14:
utils.h: In instantiation of ‘void BOOM::spikeslab::InitializeCoefficients(const BOOM::Vector&, const BOOM::Vector&, BOOM::Ptr<BOOM::GlmModel>, BOOM::Ptr<Y>) [with SAMPLER = BOOM::BinomialLogitCompositeSpikeSlabSampler]’:
logit_spike_slab_wrapper.cc:95:46: required from here
95 | BOOM::spikeslab::InitializeCoefficients(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
96 | BOOM::ToBoomVector(r_beta0),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
97 | prior.prior_inclusion_probabilities(),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
98 | model,
| ~~~~~~
99 | sampler);
| ~~~~~~~~
utils.h:35:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
35 | for (int i = 0; i < initial_beta.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~
In file included from /data/gannet/ripley/R/test-dev/Boom/include/Models/PosteriorSamplers/Imputer.hpp:31,
from /data/gannet/ripley/R/test-dev/Boom/include/Models/Glm/PosteriorSamplers/MLVS_data_imputer.hpp:26,
from /data/gannet/ripley/R/test-dev/Boom/include/Models/Glm/PosteriorSamplers/MLVS.hpp:23,
from /data/gannet/ripley/R/test-dev/Boom/include/Models/Glm/PosteriorSamplers/MultinomialLogitCompositeSpikeSlabSampler.hpp:24,
from mlm_spike_slab_wrapper.cc:2:
/data/gannet/ripley/R/test-dev/Boom/include/cpputil/ThreadTools.hpp: In member function ‘int BOOM::ThreadWorkerPool::number_of_joinable_threads() const’:
/data/gannet/ripley/R/test-dev/Boom/include/cpputil/ThreadTools.hpp:215:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::thread>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
215 | for (int i = 0; i < threads_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~
/data/gannet/ripley/R/test-dev/Boom/include/Models/PosteriorSamplers/Imputer.hpp: In member function ‘int BOOM::ParallelLatentDataImputer::number_of_observations_managed() const’:
/data/gannet/ripley/R/test-dev/Boom/include/Models/PosteriorSamplers/Imputer.hpp:218:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::LatentDataImputerWorker> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
218 | for (int i = 0; i < workers_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~
In file included from /data/gannet/ripley/R/test-dev/Boom/include/Models/EmMixtureComponent.hpp:23,
from /data/gannet/ripley/R/test-dev/Boom/include/Models/Glm/MultinomialLogitModel.hpp:23,
from mlm_spike_slab_wrapper.cc:1:
/data/gannet/ripley/R/test-dev/Boom/include/Models/ModelTypes.hpp: At global scope:
/data/gannet/ripley/R/test-dev/Boom/include/Models/ModelTypes.hpp:332:20: warning: ‘virtual double BOOM::DirichletProcessMixtureComponent::log_likelihood() const’ was hidden [-Woverloaded-virtual=]
332 | virtual double log_likelihood() const = 0;
| ^~~~~~~~~~~~~~
In file included from /data/gannet/ripley/R/test-dev/Boom/include/Models/IndependentMvnModel.hpp:24,
from mlm_spike_slab_wrapper.cc:5:
/data/gannet/ripley/R/test-dev/Boom/include/Models/GaussianModelBase.hpp:163:19: note: by ‘static double BOOM::GaussianModelBase::log_likelihood(const BOOM::GaussianSuf&, double, double)’
163 | static double log_likelihood(const GaussianSuf &suf, double mu,
| ^~~~~~~~~~~~~~
/data/gannet/ripley/R/test-dev/Boom/include/Models/ModelTypes.hpp:232:20: warning: ‘virtual double BOOM::LoglikeModel::log_likelihood() const’ was hidden [-Woverloaded-virtual=]
232 | virtual double log_likelihood() const {
| ^~~~~~~~~~~~~~
/data/gannet/ripley/R/test-dev/Boom/include/Models/GaussianModelBase.hpp:163:19: note: by ‘static double BOOM::GaussianModelBase::log_likelihood(const BOOM::GaussianSuf&, double, double)’
163 | static double log_likelihood(const GaussianSuf &suf, double mu,
| ^~~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I`/data/gannet/ripley/R/R-devel/bin/Rscript -e "cat(system.file(package='Boom'))"`/include -DADD_ -DR_NO_REMAP -DRLANGUAGE -I'/data/gannet/ripley/R/test-dev/Boom/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c nested_regression_wrapper.cc -o nested_regression_wrapper.o
In file included from /data/gannet/ripley/R/test-dev/Boom/include/Models/WishartModel.hpp:23,
from nested_regression_wrapper.cc:1:
/data/gannet/ripley/R/test-dev/Boom/include/Models/ModelTypes.hpp:332:20: warning: ‘virtual double BOOM::DirichletProcessMixtureComponent::log_likelihood() const’ was hidden [-Woverloaded-virtual=]
332 | virtual double log_likelihood() const = 0;
| ^~~~~~~~~~~~~~
In file included from /data/gannet/ripley/R/test-dev/Boom/include/Models/Glm/PosteriorSamplers/RegressionShrinkageSampler.hpp:24,
from nested_regression_wrapper.cc:6:
/data/gannet/ripley/R/test-dev/Boom/include/Models/GaussianModelBase.hpp:163:19: note: by ‘static double BOOM::GaussianModelBase::log_likelihood(const BOOM::GaussianSuf&, double, double)’
163 | static double log_likelihood(const GaussianSuf &suf, double mu,
| ^~~~~~~~~~~~~~
/data/gannet/ripley/R/test-dev/Boom/include/Models/ModelTypes.hpp:232:20: warning: ‘virtual double BOOM::LoglikeModel::log_likelihood() const’ was hidden [-Woverloaded-virtual=]
232 | virtual double log_likelihood() const {
| ^~~~~~~~~~~~~~
/data/gannet/ripley/R/test-dev/Boom/include/Models/GaussianModelBase.hpp:163:19: note: by ‘static double BOOM::GaussianModelBase::log_likelihood(const BOOM::GaussianSuf&, double, double)’
163 | static double log_likelihood(const GaussianSuf &suf, double mu,
| ^~~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I`/data/gannet/ripley/R/R-devel/bin/Rscript -e "cat(system.file(package='Boom'))"`/include -DADD_ -DR_NO_REMAP -DRLANGUAGE -I'/data/gannet/ripley/R/test-dev/Boom/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c nnet_wrapper.cc -o nnet_wrapper.o
In file included from /data/gannet/ripley/R/test-dev/Boom/include/Models/Nnet/GaussianFeedForwardNeuralNetwork.hpp:21,
from nnet_wrapper.cc:3:
/data/gannet/ripley/R/test-dev/Boom/include/Models/Nnet/Nnet.hpp: In function ‘void BOOM::Nnet::to_binary(const BOOM::Vector&, std::vector<bool>&)’:
/data/gannet/ripley/R/test-dev/Boom/include/Models/Nnet/Nnet.hpp:40:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
40 | for (int i = 0; i < numeric.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~
In file included from /data/gannet/ripley/R/test-dev/Boom/include/Models/PosteriorSamplers/Imputer.hpp:31,
from /data/gannet/ripley/R/test-dev/Boom/include/Models/Glm/PosteriorSamplers/BinomialLogitAuxmixSampler.hpp:23,
from /data/gannet/ripley/R/test-dev/Boom/include/Models/Glm/PosteriorSamplers/BinomialLogitSpikeSlabSampler.hpp:23,
from /data/gannet/ripley/R/test-dev/Boom/include/Models/Glm/PosteriorSamplers/BinomialLogitCompositeSpikeSlabSampler.hpp:22,
from nnet_wrapper.cc:11:
/data/gannet/ripley/R/test-dev/Boom/include/cpputil/ThreadTools.hpp: In member function ‘int BOOM::ThreadWorkerPool::number_of_joinable_threads() const’:
/data/gannet/ripley/R/test-dev/Boom/include/cpputil/ThreadTools.hpp:215:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::thread>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
215 | for (int i = 0; i < threads_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~
/data/gannet/ripley/R/test-dev/Boom/include/Models/PosteriorSamplers/Imputer.hpp: In member function ‘int BOOM::ParallelLatentDataImputer::number_of_observations_managed() const’:
/data/gannet/ripley/R/test-dev/Boom/include/Models/PosteriorSamplers/Imputer.hpp:218:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::LatentDataImputerWorker> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
218 | for (int i = 0; i < workers_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~
In file included from /data/gannet/ripley/R/test-dev/Boom/include/Models/EmMixtureComponent.hpp:23,
from /data/gannet/ripley/R/test-dev/Boom/include/Models/Glm/BinomialLogitModel.hpp:22,
from /data/gannet/ripley/R/test-dev/Boom/include/Models/Nnet/Nnet.hpp:22:
/data/gannet/ripley/R/test-dev/Boom/include/Models/ModelTypes.hpp: At global scope:
/data/gannet/ripley/R/test-dev/Boom/include/Models/ModelTypes.hpp:332:20: warning: ‘virtual double BOOM::DirichletProcessMixtureComponent::log_likelihood() const’ was hidden [-Woverloaded-virtual=]
332 | virtual double log_likelihood() const = 0;
| ^~~~~~~~~~~~~~
In file included from /data/gannet/ripley/R/test-dev/Boom/include/Models/IndependentMvnModel.hpp:24,
from /data/gannet/ripley/R/test-dev/Boom/include/r_interface/prior_specification.hpp:26,
from nnet_wrapper.cc:18:
/data/gannet/ripley/R/test-dev/Boom/include/Models/GaussianModelBase.hpp:163:19: note: by ‘static double BOOM::GaussianModelBase::log_likelihood(const BOOM::GaussianSuf&, double, double)’
163 | static double log_likelihood(const GaussianSuf &suf, double mu,
| ^~~~~~~~~~~~~~
/data/gannet/ripley/R/test-dev/Boom/include/Models/ModelTypes.hpp:232:20: warning: ‘virtual double BOOM::LoglikeModel::log_likelihood() const’ was hidden [-Woverloaded-virtual=]
232 | virtual double log_likelihood() const {
| ^~~~~~~~~~~~~~
/data/gannet/ripley/R/test-dev/Boom/include/Models/GaussianModelBase.hpp:163:19: note: by ‘static double BOOM::GaussianModelBase::log_likelihood(const BOOM::GaussianSuf&, double, double)’
163 | static double log_likelihood(const GaussianSuf &suf, double mu,
| ^~~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I`/data/gannet/ripley/R/R-devel/bin/Rscript -e "cat(system.file(package='Boom'))"`/include -DADD_ -DR_NO_REMAP -DRLANGUAGE -I'/data/gannet/ripley/R/test-dev/Boom/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c poisson_spike_slab_wrapper.cc -o poisson_spike_slab_wrapper.o
In file included from /data/gannet/ripley/R/test-dev/Boom/include/Models/PosteriorSamplers/Imputer.hpp:31,
from /data/gannet/ripley/R/test-dev/Boom/include/Models/Glm/PosteriorSamplers/PoissonRegressionAuxMixSampler.hpp:30,
from /data/gannet/ripley/R/test-dev/Boom/include/Models/Glm/PosteriorSamplers/PoissonRegressionSpikeSlabSampler.hpp:24,
from poisson_spike_slab_wrapper.cc:4:
/data/gannet/ripley/R/test-dev/Boom/include/cpputil/ThreadTools.hpp: In member function ‘int BOOM::ThreadWorkerPool::number_of_joinable_threads() const’:
/data/gannet/ripley/R/test-dev/Boom/include/cpputil/ThreadTools.hpp:215:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::thread>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
215 | for (int i = 0; i < threads_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~
/data/gannet/ripley/R/test-dev/Boom/include/Models/PosteriorSamplers/Imputer.hpp: In member function ‘int BOOM::ParallelLatentDataImputer::number_of_observations_managed() const’:
/data/gannet/ripley/R/test-dev/Boom/include/Models/PosteriorSamplers/Imputer.hpp:218:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::LatentDataImputerWorker> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
218 | for (int i = 0; i < workers_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~
In file included from /data/gannet/ripley/R/test-dev/Boom/include/Models/Glm/Glm.hpp:27,
from /data/gannet/ripley/R/test-dev/Boom/include/Models/Glm/PoissonRegressionModel.hpp:24,
from poisson_spike_slab_wrapper.cc:3:
/data/gannet/ripley/R/test-dev/Boom/include/Models/ModelTypes.hpp: At global scope:
/data/gannet/ripley/R/test-dev/Boom/include/Models/ModelTypes.hpp:332:20: warning: ‘virtual double BOOM::DirichletProcessMixtureComponent::log_likelihood() const’ was hidden [-Woverloaded-virtual=]
332 | virtual double log_likelihood() const = 0;
| ^~~~~~~~~~~~~~
In file included from /data/gannet/ripley/R/test-dev/Boom/include/Models/IndependentMvnModel.hpp:24,
from /data/gannet/ripley/R/test-dev/Boom/include/Models/IndependentMvnModelGivenScalarSigma.hpp:23,
from poisson_spike_slab_wrapper.cc:7:
/data/gannet/ripley/R/test-dev/Boom/include/Models/GaussianModelBase.hpp:163:19: note: by ‘static double BOOM::GaussianModelBase::log_likelihood(const BOOM::GaussianSuf&, double, double)’
163 | static double log_likelihood(const GaussianSuf &suf, double mu,
| ^~~~~~~~~~~~~~
/data/gannet/ripley/R/test-dev/Boom/include/Models/ModelTypes.hpp:232:20: warning: ‘virtual double BOOM::LoglikeModel::log_likelihood() const’ was hidden [-Woverloaded-virtual=]
232 | virtual double log_likelihood() const {
| ^~~~~~~~~~~~~~
/data/gannet/ripley/R/test-dev/Boom/include/Models/GaussianModelBase.hpp:163:19: note: by ‘static double BOOM::GaussianModelBase::log_likelihood(const BOOM::GaussianSuf&, double, double)’
163 | static double log_likelihood(const GaussianSuf &suf, double mu,
| ^~~~~~~~~~~~~~
In file included from poisson_spike_slab_wrapper.cc:16:
utils.h: In instantiation of ‘void BOOM::spikeslab::InitializeCoefficients(const BOOM::Vector&, const BOOM::Vector&, BOOM::Ptr<BOOM::GlmModel>, BOOM::Ptr<Y>) [with SAMPLER = BOOM::PoissonRegressionSpikeSlabSampler]’:
poisson_spike_slab_wrapper.cc:55:44: required from here
55 | BOOM::spikeslab::InitializeCoefficients(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
56 | ToBoomVector(r_initial_beta),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
57 | prior_spec.spike()->prior_inclusion_probabilities(),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
58 | model,
| ~~~~~~
59 | sampler);
| ~~~~~~~~
utils.h:35:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
35 | for (int i = 0; i < initial_beta.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I`/data/gannet/ripley/R/R-devel/bin/Rscript -e "cat(system.file(package='Boom'))"`/include -DADD_ -DR_NO_REMAP -DRLANGUAGE -I'/data/gannet/ripley/R/test-dev/Boom/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c probit_spike_slab_wrapper.cc -o probit_spike_slab_wrapper.o
In file included from /data/gannet/ripley/R/test-dev/Boom/include/Models/DoubleModel.hpp:23,
from /data/gannet/ripley/R/test-dev/Boom/include/Models/GammaModel.hpp:24,
from /data/gannet/ripley/R/test-dev/Boom/include/Models/ChisqModel.hpp:21,
from /data/gannet/ripley/R/test-dev/Boom/include/r_interface/prior_specification.hpp:23,
from probit_spike_slab_wrapper.cc:11:
/data/gannet/ripley/R/test-dev/Boom/include/Models/ModelTypes.hpp:232:20: warning: ‘virtual double BOOM::LoglikeModel::log_likelihood() const’ was hidden [-Woverloaded-virtual=]
232 | virtual double log_likelihood() const {
| ^~~~~~~~~~~~~~
In file included from /data/gannet/ripley/R/test-dev/Boom/include/Models/IndependentMvnModel.hpp:24,
from /data/gannet/ripley/R/test-dev/Boom/include/r_interface/prior_specification.hpp:26:
/data/gannet/ripley/R/test-dev/Boom/include/Models/GaussianModelBase.hpp:163:19: note: by ‘static double BOOM::GaussianModelBase::log_likelihood(const BOOM::GaussianSuf&, double, double)’
163 | static double log_likelihood(const GaussianSuf &suf, double mu,
| ^~~~~~~~~~~~~~
/data/gannet/ripley/R/test-dev/Boom/include/Models/ModelTypes.hpp:332:20: warning: ‘virtual double BOOM::DirichletProcessMixtureComponent::log_likelihood() const’ was hidden [-Woverloaded-virtual=]
332 | virtual double log_likelihood() const = 0;
| ^~~~~~~~~~~~~~
/data/gannet/ripley/R/test-dev/Boom/include/Models/GaussianModelBase.hpp:163:19: note: by ‘static double BOOM::GaussianModelBase::log_likelihood(const BOOM::GaussianSuf&, double, double)’
163 | static double log_likelihood(const GaussianSuf &suf, double mu,
| ^~~~~~~~~~~~~~
In file included from probit_spike_slab_wrapper.cc:14:
utils.h: In instantiation of ‘void BOOM::spikeslab::InitializeCoefficients(const BOOM::Vector&, const BOOM::Vector&, BOOM::Ptr<BOOM::GlmModel>, BOOM::Ptr<Y>) [with SAMPLER = BOOM::BinomialProbitCompositeSpikeSlabSampler]’:
probit_spike_slab_wrapper.cc:80:46: required from here
80 | BOOM::spikeslab::InitializeCoefficients(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
81 | BOOM::ToBoomVector(r_beta0),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
82 | prior.prior_inclusion_probabilities(),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
83 | model,
| ~~~~~~
84 | sampler);
| ~~~~~~~~
utils.h:35:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
35 | for (int i = 0; i < initial_beta.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I`/data/gannet/ripley/R/R-devel/bin/Rscript -e "cat(system.file(package='Boom'))"`/include -DADD_ -DR_NO_REMAP -DRLANGUAGE -I'/data/gannet/ripley/R/test-dev/Boom/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c quantile_spike_wrapper.cc -o quantile_spike_wrapper.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I`/data/gannet/ripley/R/R-devel/bin/Rscript -e "cat(system.file(package='Boom'))"`/include -DADD_ -DR_NO_REMAP -DRLANGUAGE -I'/data/gannet/ripley/R/test-dev/Boom/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c shrinkage_regression_wrapper.cc -o shrinkage_regression_wrapper.o
In file included from /data/gannet/ripley/R/test-dev/Boom/include/Models/PosteriorSamplers/Imputer.hpp:31,
from /data/gannet/ripley/R/test-dev/Boom/include/Models/Glm/PosteriorSamplers/QuantileRegressionPosteriorSampler.hpp:28,
from quantile_spike_wrapper.cc:4:
/data/gannet/ripley/R/test-dev/Boom/include/cpputil/ThreadTools.hpp: In member function ‘int BOOM::ThreadWorkerPool::number_of_joinable_threads() const’:
/data/gannet/ripley/R/test-dev/Boom/include/cpputil/ThreadTools.hpp:215:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::thread>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
215 | for (int i = 0; i < threads_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~
/data/gannet/ripley/R/test-dev/Boom/include/Models/PosteriorSamplers/Imputer.hpp: In member function ‘int BOOM::ParallelLatentDataImputer::number_of_observations_managed() const’:
/data/gannet/ripley/R/test-dev/Boom/include/Models/PosteriorSamplers/Imputer.hpp:218:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::LatentDataImputerWorker> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
218 | for (int i = 0; i < workers_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~
In file included from /data/gannet/ripley/R/test-dev/Boom/include/Models/Glm/Glm.hpp:27,
from /data/gannet/ripley/R/test-dev/Boom/include/Models/Glm/QuantileRegressionModel.hpp:24,
from quantile_spike_wrapper.cc:3:
/data/gannet/ripley/R/test-dev/Boom/include/Models/ModelTypes.hpp: At global scope:
/data/gannet/ripley/R/test-dev/Boom/include/Models/ModelTypes.hpp:232:20: warning: ‘virtual double BOOM::LoglikeModel::log_likelihood() const’ was hidden [-Woverloaded-virtual=]
232 | virtual double log_likelihood() const {
| ^~~~~~~~~~~~~~
In file included from /data/gannet/ripley/R/test-dev/Boom/include/Models/IndependentMvnModel.hpp:24,
from /data/gannet/ripley/R/test-dev/Boom/include/r_interface/prior_specification.hpp:26,
from quantile_spike_wrapper.cc:10:
/data/gannet/ripley/R/test-dev/Boom/include/Models/GaussianModelBase.hpp:163:19: note: by ‘static double BOOM::GaussianModelBase::log_likelihood(const BOOM::GaussianSuf&, double, double)’
163 | static double log_likelihood(const GaussianSuf &suf, double mu,
| ^~~~~~~~~~~~~~
/data/gannet/ripley/R/test-dev/Boom/include/Models/ModelTypes.hpp:332:20: warning: ‘virtual double BOOM::DirichletProcessMixtureComponent::log_likelihood() const’ was hidden [-Woverloaded-virtual=]
332 | virtual double log_likelihood() const = 0;
| ^~~~~~~~~~~~~~
/data/gannet/ripley/R/test-dev/Boom/include/Models/GaussianModelBase.hpp:163:19: note: by ‘static double BOOM::GaussianModelBase::log_likelihood(const BOOM::GaussianSuf&, double, double)’
163 | static double log_likelihood(const GaussianSuf &suf, double mu,
| ^~~~~~~~~~~~~~
In file included from quantile_spike_wrapper.cc:13:
utils.h: In instantiation of ‘void BOOM::spikeslab::InitializeCoefficients(const BOOM::Vector&, const BOOM::Vector&, BOOM::Ptr<BOOM::GlmModel>, BOOM::Ptr<Y>) [with SAMPLER = BOOM::QuantileRegressionSpikeSlabSampler]’:
quantile_spike_wrapper.cc:50:44: required from here
50 | BOOM::spikeslab::InitializeCoefficients(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
51 | ToBoomVector(r_initial_beta),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
52 | prior_spec.spike()->prior_inclusion_probabilities(),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
53 | model,
| ~~~~~~
54 | sampler);
| ~~~~~~~~
utils.h:35:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
35 | for (int i = 0; i < initial_beta.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~
In file included from /data/gannet/ripley/R/test-dev/Boom/include/Models/DoubleModel.hpp:23,
from /data/gannet/ripley/R/test-dev/Boom/include/Models/GammaModel.hpp:24,
from shrinkage_regression_wrapper.cc:1:
/data/gannet/ripley/R/test-dev/Boom/include/Models/ModelTypes.hpp:232:20: warning: ‘virtual double BOOM::LoglikeModel::log_likelihood() const’ was hidden [-Woverloaded-virtual=]
232 | virtual double log_likelihood() const {
| ^~~~~~~~~~~~~~
In file included from /data/gannet/ripley/R/test-dev/Boom/include/Models/GaussianModel.hpp:22,
from shrinkage_regression_wrapper.cc:2:
/data/gannet/ripley/R/test-dev/Boom/include/Models/GaussianModelBase.hpp:163:19: note: by ‘static double BOOM::GaussianModelBase::log_likelihood(const BOOM::GaussianSuf&, double, double)’
163 | static double log_likelihood(const GaussianSuf &suf, double mu,
| ^~~~~~~~~~~~~~
/data/gannet/ripley/R/test-dev/Boom/include/Models/ModelTypes.hpp:332:20: warning: ‘virtual double BOOM::DirichletProcessMixtureComponent::log_likelihood() const’ was hidden [-Woverloaded-virtual=]
332 | virtual double log_likelihood() const = 0;
| ^~~~~~~~~~~~~~
/data/gannet/ripley/R/test-dev/Boom/include/Models/GaussianModelBase.hpp:163:19: note: by ‘static double BOOM::GaussianModelBase::log_likelihood(const BOOM::GaussianSuf&, double, double)’
163 | static double log_likelihood(const GaussianSuf &suf, double mu,
| ^~~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I`/data/gannet/ripley/R/R-devel/bin/Rscript -e "cat(system.file(package='Boom'))"`/include -DADD_ -DR_NO_REMAP -DRLANGUAGE -I'/data/gannet/ripley/R/test-dev/Boom/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c spike_slab_wrapper.cc -o spike_slab_wrapper.o
In file included from /data/gannet/ripley/R/test-dev/Boom/include/Models/DoubleModel.hpp:23,
from /data/gannet/ripley/R/test-dev/Boom/include/Models/GammaModel.hpp:24,
from /data/gannet/ripley/R/test-dev/Boom/include/Models/ChisqModel.hpp:21,
from /data/gannet/ripley/R/test-dev/Boom/include/Models/Glm/PosteriorSamplers/BregVsSampler.hpp:22,
from spike_slab_wrapper.cc:6:
/data/gannet/ripley/R/test-dev/Boom/include/Models/ModelTypes.hpp:332:20: warning: ‘virtual double BOOM::DirichletProcessMixtureComponent::log_likelihood() const’ was hidden [-Woverloaded-virtual=]
332 | virtual double log_likelihood() const = 0;
| ^~~~~~~~~~~~~~
In file included from /data/gannet/ripley/R/test-dev/Boom/include/Models/IndependentMvnModel.hpp:24,
from /data/gannet/ripley/R/test-dev/Boom/include/Models/IndependentMvnModelGivenScalarSigma.hpp:23,
from /data/gannet/ripley/R/test-dev/Boom/include/Models/Glm/PosteriorSamplers/SpikeSlabDaRegressionSampler.hpp:27,
from spike_slab_wrapper.cc:8:
/data/gannet/ripley/R/test-dev/Boom/include/Models/GaussianModelBase.hpp:163:19: note: by ‘static double BOOM::GaussianModelBase::log_likelihood(const BOOM::GaussianSuf&, double, double)’
163 | static double log_likelihood(const GaussianSuf &suf, double mu,
| ^~~~~~~~~~~~~~
/data/gannet/ripley/R/test-dev/Boom/include/Models/ModelTypes.hpp:232:20: warning: ‘virtual double BOOM::LoglikeModel::log_likelihood() const’ was hidden [-Woverloaded-virtual=]
232 | virtual double log_likelihood() const {
| ^~~~~~~~~~~~~~
/data/gannet/ripley/R/test-dev/Boom/include/Models/GaussianModelBase.hpp:163:19: note: by ‘static double BOOM::GaussianModelBase::log_likelihood(const BOOM::GaussianSuf&, double, double)’
163 | static double log_likelihood(const GaussianSuf &suf, double mu,
| ^~~~~~~~~~~~~~
In file included from spike_slab_wrapper.cc:23:
utils.h: In instantiation of ‘void BOOM::spikeslab::InitializeCoefficients(const BOOM::Vector&, const BOOM::Vector&, BOOM::Ptr<BOOM::GlmModel>, BOOM::Ptr<Y>) [with SAMPLER = BOOM::BregVsSampler]’:
spike_slab_wrapper.cc:113:48: required from here
113 | BOOM::spikeslab::InitializeCoefficients(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
114 | model->Beta(),
| ~~~~~~~~~~~~~~
115 | prior.spike()->prior_inclusion_probabilities(),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
116 | model,
| ~~~~~~
117 | ssvs_sampler);
| ~~~~~~~~~~~~~
utils.h:35:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
35 | for (int i = 0; i < initial_beta.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~
utils.h: In instantiation of ‘void BOOM::spikeslab::InitializeCoefficients(const BOOM::Vector&, const BOOM::Vector&, BOOM::Ptr<BOOM::GlmModel>, BOOM::Ptr<Y>) [with SAMPLER = BOOM::AdaptiveSpikeSlabRegressionSampler]’:
spike_slab_wrapper.cc:135:48: required from here
135 | BOOM::spikeslab::InitializeCoefficients(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
136 | model->Beta(),
| ~~~~~~~~~~~~~~
137 | prior.spike()->prior_inclusion_probabilities(),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
138 | model,
| ~~~~~~
139 | ssvs_sampler);
| ~~~~~~~~~~~~~
utils.h:35:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
35 | for (int i = 0; i < initial_beta.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~
utils.h: In instantiation of ‘void BOOM::spikeslab::InitializeCoefficients(const BOOM::Vector&, const BOOM::Vector&, BOOM::Ptr<BOOM::GlmModel>, BOOM::Ptr<Y>) [with SAMPLER = BOOM::SpikeSlabDaRegressionSampler]’:
spike_slab_wrapper.cc:157:46: required from here
157 | BOOM::spikeslab::InitializeCoefficients(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
158 | model->Beta(),
| ~~~~~~~~~~~~~~
159 | prior.spike()->prior_inclusion_probabilities(),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
160 | model,
| ~~~~~~
161 | oda_sampler);
| ~~~~~~~~~~~~
utils.h:35:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
35 | for (int i = 0; i < initial_beta.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I`/data/gannet/ripley/R/R-devel/bin/Rscript -e "cat(system.file(package='Boom'))"`/include -DADD_ -DR_NO_REMAP -DRLANGUAGE -I'/data/gannet/ripley/R/test-dev/Boom/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c splines.cc -o splines.o
In file included from /data/gannet/ripley/R/test-dev/Boom/include/r_interface/list_io.hpp:27,
from splines.cc:9:
/data/gannet/ripley/R/test-dev/Boom/include/Models/ModelTypes.hpp:332:20: warning: ‘virtual double BOOM::DirichletProcessMixtureComponent::log_likelihood() const’ was hidden [-Woverloaded-virtual=]
332 | virtual double log_likelihood() const = 0;
| ^~~~~~~~~~~~~~
In file included from /data/gannet/ripley/R/test-dev/Boom/include/Models/IndependentMvnModel.hpp:24,
from /data/gannet/ripley/R/test-dev/Boom/include/r_interface/prior_specification.hpp:26,
from splines.cc:11:
/data/gannet/ripley/R/test-dev/Boom/include/Models/GaussianModelBase.hpp:163:19: note: by ‘static double BOOM::GaussianModelBase::log_likelihood(const BOOM::GaussianSuf&, double, double)’
163 | static double log_likelihood(const GaussianSuf &suf, double mu,
| ^~~~~~~~~~~~~~
/data/gannet/ripley/R/test-dev/Boom/include/Models/ModelTypes.hpp:232:20: warning: ‘virtual double BOOM::LoglikeModel::log_likelihood() const’ was hidden [-Woverloaded-virtual=]
232 | virtual double log_likelihood() const {
| ^~~~~~~~~~~~~~
/data/gannet/ripley/R/test-dev/Boom/include/Models/GaussianModelBase.hpp:163:19: note: by ‘static double BOOM::GaussianModelBase::log_likelihood(const BOOM::GaussianSuf&, double, double)’
163 | static double log_likelihood(const GaussianSuf &suf, double mu,
| ^~~~~~~~~~~~~~
splines.cc: In function ‘SEXPREC* boom_spike_slab_Bspline_basis(SEXP, SEXP)’:
splines.cc:38:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
38 | for (int i = 0; i < x.size(); ++i) {
| ~~^~~~~~~~~~
splines.cc: In function ‘SEXPREC* boom_spike_slab_Mspline_basis(SEXP, SEXP)’:
splines.cc:58:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
58 | for (int i = 0; i < x.size(); ++i) {
| ~~^~~~~~~~~~
splines.cc: In function ‘SEXPREC* boom_spike_slab_Ispline_basis(SEXP, SEXP)’:
splines.cc:77:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
77 | for (int i = 0; i < x.size(); ++i) {
| ~~^~~~~~~~~~
g++ -std=gnu++17 -shared -L/usr/local/lib64 -o BoomSpikeSlab.so boom_spike_slab_init.o logit_spike_slab_wrapper.o mlm_spike_slab_wrapper.o nested_regression_wrapper.o nnet_wrapper.o poisson_spike_slab_wrapper.o probit_spike_slab_wrapper.o quantile_spike_wrapper.o shrinkage_regression_wrapper.o spike_slab_wrapper.o splines.o /data/gannet/ripley/R/test-dev/Boom/lib/libboom.a
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-devel/BoomSpikeSlab/src'
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-devel/BoomSpikeSlab/src'
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-devel/BoomSpikeSlab/src'
installing to /data/gannet/ripley/R/packages/tests-devel/BoomSpikeSlab.Rcheck/00LOCK-BoomSpikeSlab/00new/BoomSpikeSlab/libs
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** 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 (BoomSpikeSlab)