trendbreaker
trendbreaker copied to clipboard
Error: package or namespace load failed for ‘trendbreaker’: object ‘brms_model’ is not exported by 'namespace:trending'
I'm not sure what changed as I've used trendbreaker for months without any issues, but I got this error when I tried to load trendbreaker today (4/13/23).
Error: package or namespace load failed for ‘trendbreaker’: object ‘brms_model’ is not exported by 'namespace:trending'
A little digging into "trending" shows a "brm_model," but not a "brms_model."
(apologies, this is my first issue submission)
Hi @andrew-farrey, I'm guessing you've recently updated or reinstalled {trending} or {trendeval} and possible also {incidence2}? New versions of these were recently released to CRAN and we will need to update {trendbreaker} to align with these changes. Having looked at the underlying code these changes have broken more things than I anticipated (mea culpa) but I'm afraid I cannot give a timeline for fixes as it is not something I am actively working on in my current role. I'll post an update here when resolved.
@thibautjombart - flagging for awareness / thoughts? If we cannot fix in the foreseeable future we will want to update the README to this effect.
Hi @andrew-farrey thanks for reporting the issue, and sorry that it exists in the first place. I will also try to look into it but this is unpaid work for me, and I can't afford to spend to much time volunteering these days.
I tried installing v0.0.2 of trending (which does have a brms_model()
function), but when I try to reinstall trendbreaker I get a new error: ‘trending’ 0.0.2 is being loaded, but >= 0.1.0 is required.