-
-
Notifications
You must be signed in to change notification settings - Fork 63
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
fit$summary() throws error #383
Comments
Thanks for the report. Are you still in this state? Can you check fit$output_files() to print the resulting CSV files and see if the CSV files look correct? |
@rok-cesnovar I think this error is because we need to require a newer version of the posterior package. I don't know what changed in cmdstanr that requires a newer version of posterior, but we always test against the latest posterior so that's probably why this wasn't caught by our tests. We may need to start testing against multiple versions of posterior to avoid something like this. @bob-carpenter Can you try updating the posterior package with |
Bob has gone back to using RStan |
But we didn't change anything in posterior apart from some speedup? Or did I miss anything? |
We must have changed something in cmdstanr? I tried installing the same version of posterior bob had and I got that error. |
Ah yes, https://github.com/stan-dev/cmdstanr/blob/master/DESCRIPTION#L30 we still point to 0.1.0 |
Will add that. |
I closed, but can try to recreate if you still need me to.
That's because I have a project I need to get done and couldn't get CmdStanR installed and working properly. I filed the issue because I hope to use it when I can get it installed. |
Sorry I completely misunderstood! Thanks for offering to recreate but I think we figured it out. It should be fixed by bumping the required version of posterior in 9eda8f9. If you want to try it out either of these commands should install the proper versions of everything now that I bumped the versions and tagged cmdstanr 0.2.2. install.packages("cmdstanr", repos = c("https://mc-stan.org/r-packages/", getOption("repos"))) or # install.packages("remotes")
remotes::install_github("stan-dev/cmdstanr") |
Did I need to have devtools installed to install CmdStanR? I tried
This is indicative of the kind of problems I have trying to follow the diagnostics. I'm not an R-dev, just a novice user. |
Ugh yeah those diagnostics are pretty useless!
No, that's just one option. You can also use install.packages("cmdstanr", repos = c("https://mc-stan.org/r-packages/", getOption("repos"))) without devtools. Maybe try this: # terminate and restart R to make sure no packages are loaded
remove.packages(c("posterior", "cmdstanr", "processx"))
install.packages("cmdstanr", repos = c("https://mc-stan.org/r-packages/", getOption("repos"))) |
Sorry I thought we had lost you ;) I know you've run into a bunch of issues that still need to be sorted out with CmdStanR. |
I'm going to close this because the issue with summary() is fixed by 9eda8f9, but @bob-carpenter I can definitely keep trying to help troubleshoot the install trouble from #383 (comment) if it's still not working. I'm sorry it's been such a hassle! |
Describe the bug
To Reproduce
See above.
Expected behavior
Print fit object.
Operating system
CmdStanR version number
See above.
Additional context
Downloaded cmdstan using the built-in function from CmdStanR and rebuilt to deal with PCH issue.
The text was updated successfully, but these errors were encountered: