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 failing snapshots2: report.brms #422

Closed
rempsyc opened this issue Mar 30, 2024 · 0 comments · Fixed by #420
Closed

Fix failing snapshots2: report.brms #422

rempsyc opened this issue Mar 30, 2024 · 0 comments · Fixed by #420
Labels
bug 🐛 Something isn't working

Comments

@rempsyc
Copy link
Member

rempsyc commented Mar 30, 2024

Snapshots also fail on report.brms:

Failure (test-report.brmsfit.R:17:3): report.brms
Snapshot of code has changed (variant 'windows'):
old[2:42] vs new[2:7]
    report(model, verbose = FALSE)
  Message
    Start sampling
-   Chain 1 Informational Message: The current Metropolis proposal is about to be rejected because of the following issue:
-   Chain 1 Exception: normal_id_glm_lpdf: Scale vector is 0, but must be positive finite! (in 'C:/Users/DL/AppData/Local/Temp/RtmpERRA9z/model-12d437f47a61.stan', line 35, column 4 to column 62)
-   Chain 1 If this warning occurs sporadically, such as for highly constrained variable types like covariance matrices, then the sampler is fine,
-   Chain 1 but if this warning occurs often then your model may be either severely ill-conditioned or misspecified.
-   Chain 1 
-   Chain 2 Informational Message: The current Metropolis proposal is about to be rejected because of the following issue:
-   Chain 2 Exception: normal_id_glm_lpdf: Scale vector is inf, but must be positive finite! (in 'C:/Users/DL/AppData/Local/Temp/RtmpERRA9z/model-12d437f47a61.stan', line 35, column 4 to column 62)
and 31 more ...

Also something about VSCode WebView not working

Failure (test-report_performance.R:79:3): report_performance Bayesian)
Snapshot of code has changed (variant 'windows'):
old vs new
  Code
    report_performance(x5)
- Message
-   VSCode WebView has restricted access to local file.
-   Opening in external browser...
-   Browsing file:///C:/Users/DL/AppData/Local/Temp/RtmpERRA9z/file12d47a7090f_StanProgress.html
  Output
    The model's explanatory power is substantial (R2 = 0.62, 95% CI [0.53, 0.69],
    adj. R2 = 0.61)

Example: https://github.com/easystats/report/actions/runs/8489838472/job/23260331557

@rempsyc rempsyc added the bug 🐛 Something isn't working label Mar 30, 2024
@rempsyc rempsyc linked a pull request Apr 1, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant