Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues with compare() #452

Open
FishModeler opened this issue Jan 9, 2025 · 1 comment
Open

Issues with compare() #452

FishModeler opened this issue Jan 9, 2025 · 1 comment
Labels

Comments

@FishModeler
Copy link

FishModeler commented Jan 9, 2025

I am trying to compare multiple binomial models that have various combinations of variables. When I try to compare(modelnames...), I receive the following error message:
Error in attr(object, "cstanfit")$draws : $ operator not defined for this S4 class

Any insight on what may be causing this? This is a new problem and wasn't having this issue about a month ago.
I have tried using the current version of rethinking, compare will work but it will not save my outputs. I have used @timjzee 's version noted in #443 which will save outputs successfully, but I will receive that error when comparing. I have tried mixing and matching rethinking versions and that does not work.
Cmdnstanr version 0.8.1.9

Thanks!

@rmcelreath
Copy link
Owner

This looks like a missing class method. I will flag it. Thanks very much for the report.

@rmcelreath rmcelreath added the bug label Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants