-
-
Notifications
You must be signed in to change notification settings - Fork 187
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
fun_von_mises.stan missing #1690
Comments
did you restart R after installing brms again?
ps2-2 ***@***.***> schrieb am Di., 24. Sept. 2024, 21:49:
… I just updated brms, first to 2.22.0 (from CRAN), and then 2.22.1 (from
github), and in both cases subsequently received an error regarding a
missing file when trying to fit a von Mises model:
In file(con, "r") : cannot open file
'/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/brms/chunks/fun_von_mises.stan':
No such file or directory
Following my post on the Stan forums
<https://discourse.mc-stan.org/t/missing-von-mises-distribution-in-brms-2-22-0/36714>,
it looks like this is probably related to the other issues here
<#1633> and here
<#1678>.
—
Reply to this email directly, view it on GitHub
<#1690>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADCW2AD5OBQHAJGL4BBWIWLZYG64NAVCNFSM6AAAAABOZAZIU6VHI2DSMVQWIX3LMV43ASLTON2WKOZSGU2DMMRVGAZDOOI>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Yep. |
I take it that the following code errors for you? library(brms)
dat <- data.frame(y = rnorm(10, 0, 0.1))
fit <- brm(y~1, data = dat, family = von_mises()) It does work for me and I cannot find any traces of fun_von_mises.stan in the brms code base. Perhaps you are having some old brms models loaded in your environment that cause this? I suggest to uninstall brms in a fresh R session (without any objects loaded). Then restart R and install brms in a fresh R session again. After another restart there should really be nothing that would keep R from clinging to some old code. |
No, that code runs fine. I'll follow your suggestions---thanks, and sorry to take up your time with something that looks like it isn't actually a bug. [Edit: Just to confirm that doing so resolves the error, and von Mises models are now fitting just fine.] |
cool! :-) |
I just updated brms, first to 2.22.0 (from CRAN), and then 2.22.1 (from github), and in both cases subsequently received an error regarding a missing file when trying to fit a von Mises model:
In file(con, "r") : cannot open file '/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/brms/chunks/fun_von_mises.stan': No such file or directory
Following my post on the Stan forums, it looks like this is probably related to the other issues here and here.
The text was updated successfully, but these errors were encountered: