We see the following when trying to compile bsts (0.9.9) with the current version of Boom (0.9.14) installed.
create_shared_state_model.cpp: In member function ‘BOOM::Ptr<BOOM::SharedStateModel> BOOM::bsts::ConditionallyIndependentSharedStateModelFactory::CreateSharedLocalLevel(SEXP, BOOM::CIMSSMB*, const string&)’:
create_shared_state_model.cpp:164:64: error: no matching function for call to ‘BOOM::ConditionallyIndependentSharedLocalLevelPosteriorSampler::ConditionallyIndependentSharedLocalLevelPosteriorSampler(BOOM::ConditionallyIndependentSharedLocalLevelStateModel*, std::vector<BOOM::Ptr<BOOM::MvnBase> >&, std::vector<BOOM::Ptr<BOOM::VariableSelectionPrior> >&)’
state_model_sampler)(state_model.get(), slabs, spikes);
^
In file included from create_shared_state_model.cpp:34:0:
/root/R/x86_64-pc-linux-gnu-library/4.1/Boom/include/Models/StateSpace/Multivariate/PosteriorSamplers/SLLPS.hpp:125:5: note: candidate: BOOM::ConditionallyIndependentSharedLocalLevelPosteriorSampler::ConditionallyIndependentSharedLocalLevelPosteriorSampler(BOOM::ConditionallyIndependentSharedLocalLevelStateModel*, const std::vector<BOOM::Ptr<BOOM::MvnBase> >&, const std::vector<BOOM::Ptr<BOOM::VariableSelectionPrior> >&, const std::vector<BOOM::Ptr<BOOM::UnivParams> >&, BOOM::RNG&)
ConditionallyIndependentSharedLocalLevelPosteriorSampler(
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/root/R/x86_64-pc-linux-gnu-library/4.1/Boom/include/Models/StateSpace/Multivariate/PosteriorSamplers/SLLPS.hpp:125:5: note: candidate expects 5 arguments, 3 provided
/root/R/x86_64-pc-linux-gnu-library/4.1/Boom/include/Models/StateSpace/Multivariate/PosteriorSamplers/SLLPS.hpp:106:9: note: candidate: BOOM::ConditionallyIndependentSharedLocalLevelPosteriorSampler::ConditionallyIndependentSharedLocalLevelPosteriorSampler(const BOOM::ConditionallyIndependentSharedLocalLevelPosteriorSampler&)
class ConditionallyIndependentSharedLocalLevelPosteriorSampler
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/root/R/x86_64-pc-linux-gnu-library/4.1/Boom/include/Models/StateSpace/Multivariate/PosteriorSamplers/SLLPS.hpp:106:9: note: candidate expects 1 argument, 3 provided
/root/R/x86_64-pc-linux-gnu-library/4.1/Boom/include/Models/StateSpace/Multivariate/PosteriorSamplers/SLLPS.hpp:106:9: note: candidate: BOOM::ConditionallyIndependentSharedLocalLevelPosteriorSampler::ConditionallyIndependentSharedLocalLevelPosteriorSampler(BOOM::ConditionallyIndependentSharedLocalLevelPosteriorSampler&&)
/root/R/x86_64-pc-linux-gnu-library/4.1/Boom/include/Models/StateSpace/Multivariate/PosteriorSamplers/SLLPS.hpp:106:9: note: candidate expects 1 argument, 3 provided
After installing a previous version of Boom (0.9.11) installation of bsts (0.9.9) succeeded.
We see the following when trying to compile bsts (0.9.9) with the current version of Boom (0.9.14) installed.
After installing a previous version of Boom (0.9.11) installation of bsts (0.9.9) succeeded.
Appreciate your time and hopefully it will be a quick fix!