Skip to content

Current CRAN version of Boom (0.9.14) does not seem to be compatible with the current version of bsts (0.9.9) #76

Description

@jimhester

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.

Appreciate your time and hopefully it will be a quick fix!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions