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

Fix creating stanfit from csv when rstan not loaded #1663

Merged
merged 1 commit into from
May 28, 2024

Conversation

andrjohns
Copy link
Contributor

Reported by @ave, using cmdstanr backend is giving error in some cases:

Error in getClass(Class, where = topenv(parent.frame())) : 
  “cxxdso” is not a defined class

Which is caused by the CSV processing attempting to use a class from the rstan package when it's not loaded. This PR updates the class lookup to specify that it should be found in rstan

@paul-buerkner
Copy link
Owner

Thanks! Merging now :-)

@paul-buerkner paul-buerkner merged commit cc258c5 into paul-buerkner:master May 28, 2024
5 checks passed
@andrjohns andrjohns deleted the fix-read-csv branch May 28, 2024 14:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants